Пример #1
0
 public ActionResult DeleteConfirmed(long id)
 {
     //BloodType bloodtype = PersonnelContext.BloodTypes.Find(id);
     //PersonnelContext.BloodTypes.Remove(bloodtype);
     //PersonnelContext.SaveChanges();
     _bloodTypeService.DeleteById((int)id);
     _uow.SaveChanges();
     return(RedirectToAction("Index"));
 }