public async Task UpdateAsync(Team team) { await _inner.UpdateAsync(team); await _context.SaveChangesAsync(); }
public async Task UpdateAsync(TeamViewModel team) { await _teamsManager.UpdateAsync(_objMapper.Map <TeamViewModel, Team>(team)); }