Пример #1
0
        public int UpdateProject(Project value)
        {
            _dbContext.Entry(value).State = EntityState.Modified;

            var project = _dbContext.SaveChanges();

            return(project);
        }
Пример #2
0
        public int UpdateIssue(Issue value)
        {
            _dbContext.Entry(value).State = EntityState.Modified;

            var issue = _dbContext.SaveChanges();

            return(issue);
        }