Exemple #1
0
 public async Task CreateLobi(CreateLobiDto input)
 {
     var lobi = _mapper.Map <Lobi>(input);
     await _lobiRepository.InsertAsync(lobi);
 }
Exemple #2
0
        public async Task <IActionResult> Create([FromBody] CreateLobiDto input)
        {
            await _lobiService.CreateLobi(input);

            return(Ok());
        }