Exemple #1
0
 public void Delete_Void_Success()
 {
     _facultyService.Delete(_faculty.Id);
 }
Exemple #2
0
 /// <summary>
 /// Удаление записи о факультете.
 /// </summary>
 /// <returns></returns>
 public ActionResult Delete(int id)
 {
     Access.CheckAccess("Faculty.Deleter");
     _facultyService.Delete(id);
     return(RedirectToAction("Index"));
 }