public async Task <Page <CompanyViewData> > GetPaginatedEntitiesAsync(
     int pageSize,
     int currentPage,
     string searchText,
     CompanySearchOptions sortBy)
 {
     return(await _repository.GetPaginatedResultsAsync(pageSize, currentPage, searchText, sortBy));
 }