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