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());
 }