public virtual async Task <T> Update(T obj) { _context.Entryy(obj).State = EntityState.Modified; await _context.SaveChangeAsync(); return(obj); }