public AuthorizationController(ILogger <AuthorizationController> logger, IAuthorizationService authoriaztionService, IMapper mapper) { _logger = logger; _authoriaztionService = authoriaztionService; _mapper = mapper; }
public TerritoryUserController( MainDbContext database, IStringLocalizer <AuthorizedController> localizer, IAlbaCredentials credentials, Services.IAuthorizationService authorizationService, IAlbaCredentialService albaCredentialService, IOptions <WebUIOptions> optionsAccessor) : base( database, localizer, credentials, authorizationService, albaCredentialService, optionsAccessor) { }
public HomeController( MainDbContext database, IStringLocalizer <AuthorizedController> localizer, IAlbaCredentials credentials, Services.IAuthorizationService authorizationService, Services.IQRCodeActivityService qrCodeActivityService, IAlbaCredentialService albaCredentialService, IOptions <WebUIOptions> optionsAccessor) : base( database, localizer, credentials, authorizationService, albaCredentialService, optionsAccessor) { this.qrCodeActivityService = qrCodeActivityService; }
public ReportController( MainDbContext database, IAccountLists accountLists, IStringLocalizer <AuthorizedController> localizer, IAlbaCredentials credentials, Services.IAuthorizationService authorizationService, IAlbaCredentialService albaCredentialService, IOptions <WebUIOptions> optionsAccessor) : base( database, localizer, credentials, authorizationService, albaCredentialService, optionsAccessor) { this.accountLists = accountLists; }
public ShellViewModel( [Import] IBackgroundExecutor backgroundExecutor, [Import] IEventAggregator eventAggregator, [Import] IDialogService dialogs, [Import] Services.IAuthorizationService authorizator) { AlertMessageViewModel = new MessageBoxViewModel(); this.executor = backgroundExecutor; this.aggregator = eventAggregator; this.dialogs = dialogs; this.authorizator = authorizator; signinMenuText = Properties.Resources.Sign_in; aggregator.Subscribe(ScrumFactoryEvent.ShowFullScreen, () => { IsOnTaskMode = false; }); aggregator.Subscribe<Task>(ScrumFactoryEvent.ShowTaskDetail, t => { IsOnTaskMode = false; }, 10); //aggregator.Subscribe(ScrumFactoryEvent.ApplicationWhentForeground, () => { IsOnTaskMode = true; }); aggregator.Subscribe<MemberProfile>(ScrumFactoryEvent.SignedMemberChanged, OnMemberSignin); aggregator.Subscribe<Project>(ScrumFactoryEvent.ProjectDetailsChanged, p => { SelectedProject = p; }); aggregator.Subscribe<Project>(ScrumFactoryEvent.ViewProjectDetails, ViewProjectDetails); aggregator.Subscribe<bool>(ScrumFactoryEvent.Signing, signing => { if (signing) { IsSigning = true; SigninMenuText = Properties.Resources.Sigining; } else { IsSigning = false; SigninMenuText = Properties.Resources.Sign_in; } }); SignInCommand = new DelegateCommand(() => { //CloseAllChildWindows(); eventAggregator.Publish(ScrumFactoryEvent.ShowLogin); }); MoveWindowCommand = new DelegateCommand(() => { View.DragMove(); }); CloseWindowCommand = new DelegateCommand(Close); MinimizeWindowCommand = new DelegateCommand(Minimize); ShowMyProfileCommand = new DelegateCommand(ShowMyProfile); ShowAboutDialogCommand = new DelegateCommand(ShowAboutDialog); ShowWhatIsNewCommand = new DelegateCommand(ShowWhatIsNewDialog); ShowOwnersListCommand = new DelegateCommand(CanShowOwnersList, ShowOwnersList); RefreshCommand = new DelegateCommand(Refresh); ShowHideTopMenuCommand = new DelegateCommand(ShowHideTopMenu); ShowMyTasksCommand = new DelegateCommand(ShowMyTasks); ShowOptionsCommand = new DelegateCommand(ShowOptions); ShowFactorySettingsCommand = new DelegateCommand(CanShowOwnersList, ShowFactorySettings); }
public FaceShapeLinksController(hair_project_dbContext context, Services.IAuthorizationService authorizationService) { _context = context; _authorizationService = authorizationService; }
public HairStyleLinksController(hairdressing_project_dbContext context, Services.IAuthorizationService authorizationService) { _context = context; _authorizationService = authorizationService; }
public UserFeaturesController(hair_project_dbContext context, Services.IAuthorizationService authorizationService) { _context = context; _authorizationService = authorizationService; }
public HairLengthsController(hair_project_dbContext context, Services.IAuthorizationService authorizationService) { _context = context; _authorizationService = authorizationService; }
public AuthorizationController(Services.IAuthorizationService authorizationService) { _authorizationService = authorizationService; }
public ProtectedAuthorizationHandler(ILogger <ProtectedAuthorizationHandler> logger, Services.IAuthorizationService authorizationService) { this.logger = logger; this.authorizationService = authorizationService; }