public function save(Request $request)
 {
     if (self::checkUserPermissions("system_company_can_edit")) {
         CompanyTasks::saveCompanyDetails($request);
     } else {
         CommonTasks::throwUnauthorized();
     }
 }
 public function search()
 {
     if (self::checkUserPermissions("system_role_can_search")) {
         $data = RoleTasks::populateSearchData();
         return view('dashboard.system.roles.search', $data);
     } else {
         CommonTasks::throwUnauthorized();
     }
 }