//[Authorize(Roles = "Employee")] public ActionResult RemoveIdentificationDetails(string Id) { Int16 identificationType = 0; if (!string.IsNullOrEmpty(Id)) { identificationType = Convert.ToInt16(Id); bool result = ems.DeleteEmployeeIndentificationDetails(User.Identity.GetUserId(), identificationType); return(RedirectToAction("IdentificationDetails", "Employee", new { area = "EMS", result = "Deleted" })); } return(RedirectToAction("IdentificationDetails", "Employee", new { area = "EMS" })); }