예제 #1
0
        public async Task <IActionResult> DeclineRequestToChef([FromBody] Request request)
        {
            if (request.RequestType == RequestType.Upgrade_To_Chef)
            {
                await _moderationService.DeclineRequest(request);

                return(Ok());
            }

            return(BadRequest());
        }