public async Task <CreateRouletteResult> CreateRoulette(Roulette roulette) { roulette.Id = Guid.NewGuid(); roulette.Open = false; roulette.Color = ColorType.NotDefined; roulette.Status = StatusType.Inactive; roulette.WinnerNumber = -1; roulette = await _rouletteRepository.AddRoulette(roulette); var result = new CreateRouletteResult(); result.Data = roulette.Id; result.Success = true; return(result); }