예제 #1
0
        public ActionResult <CrewDto> Get(int id)
        {
            var ticket = _crewsSrvice.GetById(id);

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

            return(_crewsSrvice.GetById(id));
        }
예제 #2
0
 public async Task <CrewDTO> Get(int id)
 {
     return(await service.GetById(id));
 }