Exemplo n.º 1
0
 public async Task <Page <Company> > GetPageOfCompanies(Query query)
 {
     query.Display = query.Display ?? int.Parse(_config["ItemsPerPage"]);
     return(await _companiesRepository.GetPage(query));
 }