Esempio n. 1
0
 public void Delete_Void_Success()
 {
     _housingService.Delete(_housing.Id);
 }
Esempio n. 2
0
 /// <summary>
 /// Удаление корпуса.
 /// </summary>
 /// <returns></returns>
 public ActionResult Delete(int id)
 {
     Access.CheckAccess("Housing.Deleter");
     _housingService.Delete(id);
     return(RedirectToAction("Index"));
 }