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); } }
public bool Delete(Guid id) { try { DAL.Delete(id); return(true); } catch (Exception e) { Logger.Logger.CreateLog(e); return(false); } }
public bool Delete(Guid id) { return(DAL.Delete(id)); }