Beispiel #1
0
 public int Delete(int id)
 {
     try
     {
         _iWardService.Delete1(id); //call service
         _iWardService.Save();      //save changes
         return(1);
     }
     catch (Exception ex)
     {
         return(0);
     }
 }