public ActionResult <CrewDto> Get(int id) { var ticket = _crewsSrvice.GetById(id); if (ticket == null) { return(NotFound()); } return(_crewsSrvice.GetById(id)); }
public async Task <CrewDTO> Get(int id) { return(await service.GetById(id)); }