public async Task DeleteAsync(UserRole userRole) { Context.UserRoles.Remove(userRole); await Context.SaveChangesAsync(); }
public async Task AssignAsync(UserRole userRole) { Context.UserRoles.Add(userRole); await Context.SaveChangesAsync(); }