public IEnumerable <CategoryDto> GetList() { IEnumerable <Category> list = _domainService.List(); return(Mapper.Map <IEnumerable <CategoryDto> >(list)); }
public IReadOnlyList <CategoryDto> GetList() { IReadOnlyList <Category> list = _domainService.List(); return(Mapper.Map <IReadOnlyList <CategoryDto> >(list)); }