Пример #1
0
        public async Task UpdateAsync(Team team)
        {
            await _inner.UpdateAsync(team);

            await _context.SaveChangesAsync();
        }
Пример #2
0
 public async Task UpdateAsync(TeamViewModel team)
 {
     await _teamsManager.UpdateAsync(_objMapper.Map <TeamViewModel, Team>(team));
 }