예제 #1
0
        public async Task <IActionResult> GetDrink(string id)
        {
            if (string.IsNullOrEmpty(id))
            {
                return(BadRequest());
            }

            var result = matrixService.GetSpecificDrink(id);

            if (result == null)
            {
                return(Conflict());
            }

            return(Ok(result));
        }