Skip to content

Instantly share code, notes, and snippets.

@ashour
Created April 24, 2020 13:04
Show Gist options
  • Save ashour/225e006b49904f7bfb0bafea711586b2 to your computer and use it in GitHub Desktop.
Save ashour/225e006b49904f7bfb0bafea711586b2 to your computer and use it in GitHub Desktop.
using Heaventure.Data;
using System.Web.Mvc;
namespace Heaventure.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
var ar = new System.Globalization.CultureInfo("ar");
System.Threading.Thread.CurrentThread.CurrentCulture = ar;
System.Threading.Thread.CurrentThread.CurrentUICulture = ar;
var model = Constellation.All();
return View(model);
}
// ...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment