public List <TicketTypeDto> GetAll()
 {
     return(MapperHelper <TicketType, TicketTypeDto> .ConvertToDtos(_repository.GetAll()));
 }
Example #2
0
        public async Task <HttpResponseMessage> GetAll()
        {
            var response = await _dataProvider.GetAll();

            return(Request.CreateResponse(HttpStatusCode.OK, response));
        }