Esempio n. 1
0
 //[Authorize(Roles = "Employee")]
 public ActionResult RemoveEducationDetails(string Id)
 {
     if (!string.IsNullOrEmpty(Id))
     {
         bool result = ems.DeleteEmployeeEducationDetail(User.Identity.GetUserId(), Convert.ToInt16(Id));
     }
     return(RedirectToAction("EducationalDetails", "Employee"));
 }