예제 #1
0
 public bool Change(Guid id, string Sur, string Name, string SecName, DateTime Bday)
 {
     try
     {
         DAL.Delete(id);
         DAL.Create(new User(Sur, Name, SecName, Bday, id));
         return(true);
     }
     catch (Exception e)
     {
         Logger.Logger.CreateLog(e);
         return(false);
     }
 }
예제 #2
0
 public bool Delete(Guid id)
 {
     try
     {
         DAL.Delete(id);
         return(true);
     }
     catch (Exception e)
     {
         Logger.Logger.CreateLog(e);
         return(false);
     }
 }
예제 #3
0
 public bool Delete(Guid id)
 {
     return(DAL.Delete(id));
 }