public async Task <ActionResult <List <StandardListDto> > > GetAllStandardListsAsync() { var data = await _standardListRepository.ListAllAsync(); return(data.Select(o => StandardListDto.From(o)).OrderBy(o => o.StandardListName).ToList()); }
public async Task <ActionResult <List <StandardListDto> > > GetAllStandardListsAsync() { var data = await _standardListRepository.ListAllAsync(); return(data.Select(o => StandardListDto.From(o)).OrderBy(o => o.StandardListName).ToList()); }