public IActionResult IndexAdmin() { var applications = _applicationData.GetAll(); var model = new ApplicationsViewModel(); model.Applications = applications; model.UserType = UserType.Admin; return(View(model)); }
public ActionResult Index() { var model = db.GetAll(); return(View(model)); }