public List <TicketTypeDto> GetAll() { return(MapperHelper <TicketType, TicketTypeDto> .ConvertToDtos(_repository.GetAll())); }
public async Task <HttpResponseMessage> GetAll() { var response = await _dataProvider.GetAll(); return(Request.CreateResponse(HttpStatusCode.OK, response)); }