diff --git a/Program.cs b/Program.cs index f9c1874..49aa603 100644 --- a/Program.cs +++ b/Program.cs @@ -115,6 +115,12 @@ app.UseAntiforgery(); app.UseAuthorization(); // Map routes with .NET 9 improvements +// Data routes +app.MapControllerRoute( + name: "data", + pattern: "Data/{controller}/{action=Index}/{id?}", + defaults: new { area = "" }); + // Master data routes app.MapControllerRoute( name: "master", diff --git a/Views/Data/Offtaker/Index.cshtml b/Views/Data/Offtaker/Index.cshtml index a8910a2..894971c 100644 --- a/Views/Data/Offtaker/Index.cshtml +++ b/Views/Data/Offtaker/Index.cshtml @@ -2,6 +2,10 @@ ViewData["Title"] = "Offtaker Sampah"; } +@section Styles { + +} +