public bool Edit(Rank rank) { _nasaDbContext.Entry(rank).State = EntityState.Modified; return(_nasaDbContext.SaveChanges() > 0); }
public bool Edit(Answer answer) { _nasaDbContext.Entry(answer).State = EntityState.Modified; return(_nasaDbContext.SaveChanges() > 0); }
public bool Edit(Question question) { _nasaDbContext.Entry(question).State = EntityState.Modified; return(_nasaDbContext.SaveChanges() > 0); }
public bool Edit(Photo photo) { _nasaDbContext.Entry(photo).State = EntityState.Modified; return(_nasaDbContext.SaveChanges() > 0); }