public bool UpdatePage(Page page) { try { db.Entry(page).State = EntityState.Modified; return(true); } catch (Exception) { return(false); } }
public bool UpdateFlight(Flight flight) { try { db.Entry(flight).State = EntityState.Modified; return(true); } catch (Exception) { return(false); } }
public bool UpdateResidenceType(ResidenceType residenceType) { try { db.Entry(residenceType).State = EntityState.Modified; return(true); } catch (Exception) { return(false); } }
public bool UpdateCategory(Category category) { try { db.Entry(category).State = EntityState.Modified; return(true); } catch (Exception) { return(false); } }
public bool UpdateUserMessage(UserMessage userMessage) { try { db.Entry(userMessage).State = EntityState.Modified; return(true); } catch (Exception) { return(false); } }