Moved datagrid query logic to repository
Changed company repository