public bool Change(Guid id, string Title) { try { DAL.Delete(id); DAL.Create(new Award(Title, 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) { try { return(dal.Delete(id)); } catch (Exception e) { Logger.Logger.WriteLog(e); throw e; } }