Esempio n. 1
0
        public async Task <ActionResult <ActorDetailedDTO> > Get(int id)
        {
            var actor = await _repository.FindAsync(id);

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

            return(actor);
        }