public void UpdateSkill(Technology item) { try { _context.Entry(item).State = Microsoft.EntityFrameworkCore.EntityState.Modified; _context.SaveChanges(); } catch (Exception) { throw; } }
public void UpdateSkill(Technology item) { _context.Entry(item).State = Microsoft.EntityFrameworkCore.EntityState.Modified; _context.SaveChanges(); }
public void UpdateSkill(Skill skill) { _dbContext.Entry(skill).State = Microsoft.EntityFrameworkCore.EntityState.Modified; Save(); }