diff --git a/HospitalManagement/Program.cs b/HospitalManagement/Program.cs index cee3222..cac231b 100644 --- a/HospitalManagement/Program.cs +++ b/HospitalManagement/Program.cs @@ -49,7 +49,7 @@ app.MapControllerRoute( name: "default", - pattern: "{controller=Home}/{action=Index}/{id?}"); + pattern: "{controller=Appointment}/{action=Index}/{id?}"); app.MapRazorPages(); await DbInit.SeedUsersAndRolesAsync(app);