示例#1
0
        public IHttpActionResult GetLastCoffee()
        {
            var cafe = coffeeRepository.GetLast();

            if (cafe == null)
            {
                return(NotFound());
            }

            return(Ok(cafe));
        }