public int UpdateProject(Project value) { _dbContext.Entry(value).State = EntityState.Modified; var project = _dbContext.SaveChanges(); return(project); }
public int UpdateIssue(Issue value) { _dbContext.Entry(value).State = EntityState.Modified; var issue = _dbContext.SaveChanges(); return(issue); }