//[Authorize(Roles = "Employee")] public ActionResult RemoveProfileType(string Id) { bool result = ems.DeleteProfileDetails(User.Identity.GetUserId(), Id); return(RedirectToAction("ProfileType", "Employee", new { area = "EMS" })); }