Beispiel #1
0
        public async Task <IActionResult> ConfirmBeer(int id)
        {
            if (await _service.IsBeerExist(id) == false)
            {
                return(NotFound());
            }
            await _service.ConfirmBeerAsync(id);

            return(Ok());
        }