コード例 #1
0
        public async Task <ActionResult <Photo> > FindWithImage(int id)
        {
            Photo ph = await service.FindWithImageAsync(id);

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