Esempio n. 1
0
        public async Task CreateTeamAsync(Team team)
        {
            await _inner.CreateTeamAsync(team);

            await _context.SaveChangesAsync();
        }
Esempio n. 2
0
 public async Task CreateTeamAsync(TeamViewModel team)
 {
     await _teamsManager.CreateTeamAsync(_objMapper.Map <TeamViewModel, Team>(team));
 }