public function assignUsersToProject($projectId, $activeUsers, $configId)
 {
     foreach ($activeUsers as $user) {
         if (is_object($user)) {
             UserRepository::getInstance()->assignUserToProject($projectId, $user->id, $user->loadIndicator, $user->performanceIndicator, $configId);
         }
         if (is_array($user)) {
             UserRepository::getInstance()->assignUserToProject($projectId, $user['userId'], $user['loadIndicator'], $user['performanceIndicator'], $configId);
         }
     }
 }
 /**
  * @authorize
  * @method GET
  * @customRoute('user/int/date/mixed')
  */
 public function expandUserDay($userId, $dayDate)
 {
     $userDay = UserRepository::getInstance()->expandUserDay($userId, $dayDate);
     return $userDay;
 }