public HomepassesController(IHomepassService homepassService, IClusterService clusterService, IUserService userService, IMapper mapper, ILoggerFactory loggerFactory) : base(userService)
        {
            if (loggerFactory != null)
            {
                _logger = loggerFactory.CreateLogger("HomePassesController");
            }

            _homepassService = homepassService;
            _clusterService  = clusterService;
            _mapper          = mapper;
        }
 public HomepassesController(IUserService userService, IHomepassService homepassService, ILogger <HomepassesController> logger)
     : base(userService)
 {
     _logger          = logger;
     _homepassService = homepassService;
 }