public Task <PagedResult <ProductViewModel> > GetPaged(string name, string orderBy = "", bool orderAsc = true, int page = 1, int pageSize = 20)
        {
            var data   = _queries.GetPaged(name, orderBy, orderAsc, page, pageSize).Result;
            var result = new PagedResult <ProductViewModel>
            {
                CurrentPage = data.CurrentPage,
                PageCount   = data.PageCount,
                PageSize    = data.PageSize,
                RowCount    = data.RowCount,
                Results     = ProductMapper.DtoToViewModels(data.Results)
            };

            return(Task.FromResult(result));
        }