// private IViewRenderService _viewRenderService;

        public AdminController(IUserService userService, ISettingsService settingService, IAutomapperMapping mapper)
        {
            _mapper         = mapper;
            _userService    = userService;
            _settingService = settingService;
            // _viewRenderService = viewRenderService;
        }
 public UserService(ISession nhSession, IAutomapperMapping mapper, ICipherService cipherService, IRepository <User> userRepository, IUnitOfWork unitOfWork,
                    INotificationService notificationService, ISettingsService settingService)
 {
     _nhSession           = nhSession;
     _mapper              = mapper;
     _cipherService       = cipherService;
     _userRepository      = userRepository;
     _unitOfWork          = unitOfWork;
     _notificationService = notificationService;
     _settingService      = settingService;
 }
 public HomeController(IUserService userService, IAutomapperMapping mapper)
 {
     _userService = userService;
     _mapper      = mapper;
 }