public async Task <ActionResult <WebApiResponse> > GetOne(long id) { return(await _rouletteStateCrud.FirstByIdAndMakeResponseAsync(id)); }
public async Task <ActionResult <WebApiResponse> > GetUser(long userId) { // TODO: pending validate policies, if rol is player, // can only see its own user, other roles can see all users return(await _crudComponent.FirstByIdAndMakeResponseAsync(userId)); }
public async Task <ActionResult <WebApiResponse> > GetOneOpenedRound(long roundId) { return(await _roundContextCrud.FirstByIdAndMakeResponseAsync(roundId)); }