예제 #1
0
 public ActionResult DeleteWorker(int WorkerNumber)
 {
     _workerServises.Delete(new Worker {
         PassportNumber = WorkerNumber
     });
     return(RedirectToAction("EditWorkersInformation"));
 }
예제 #2
0
 public void Delete(FullUser fullUser)
 {
     _workerServices.Delete(fullUser.Worker);
 }