public HomeController(IHostingEnvironment env, ICustomerService customerService, IPermsService permsService, IBalanceService balanceService, IBillingDetailsService billingDetailsService)
 {
     _env                   = env;
     _customerService       = customerService;
     _permsService          = permsService;
     _balanceService        = balanceService;
     _billingDetailsService = billingDetailsService;
 }
Beispiel #2
0
        public PermissionsViewModel(IDialogsService dialogsService, IPermsService permissionsService, INavigationService navigationService)
            : base(navigationService)
        {
            Title = "Permissions";

            this.permissionsService = permissionsService;
            this.dialogsService     = dialogsService;
            InitializePermissions();
        }
Beispiel #3
0
        public MainViewModel(ILoggerService loggingService, IAppCore appCore, IDialogsService dialogsService, IPermsService permissionsService, INavigationService navigationService)
            : base(navigationService)
        {
            Title = "Main Page";

            this.appCore            = appCore;
            this.dialogsService     = dialogsService;
            this.permissionsService = permissionsService;
            this.loggingService     = loggingService;

            DeviceId = "DeviceID: " + appCore.DeviceId;
            LogPath  = "Log path: " + appCore.LogPath;
        }