public ActionResult <ApplicationCore.Entities.Roulette> CreateRoulette([FromBody] ApplicationCore.Entities.Roulette roulette)
        {
            var res = _service.CreateRouletteAsync(roulette);

            return(res.Result);
        }
Пример #2
0
 public async Task <Roulette> CreateRouletteAsync()
 {
     return(await _service.CreateRouletteAsync());
 }