public bool Save() { try { return(_ctx.SaveChanges() > 0); } catch (Exception e) { //TODO log this error return(false); } }
public bool Save() { try { return(_context.SaveChanges() > 0); } catch (Exception ex) { return(false); } }
public bool Save() { try { return(_ctx.SaveChanges() > 0); } catch (Exception) { return(false); } }
public bool Save() { try { return(_context.SaveChanges() > 0); } catch (Exception e) { //TODO logging return(false); } }
public bool Save() { try { return(_context.SaveChanges() > 0); } catch (Exception ex) { //Todo Log this error return(false); } }