Example #1
0
 public OperatorsController(
     IOperatorUseCase operatorUseCase,
     IAuthorizationUseCase authorizationUseCase,
     UserManager <ApplicationUser> userManager)
 {
     this.operatorService = new OperatorService(operatorUseCase, authorizationUseCase, userManager);
 }
Example #2
0
 public OperatorService(
     IOperatorUseCase operatorUseCase,
     IAuthorizationUseCase authorizationUseCase,
     UserManager <ApplicationUser> userManager)
 {
     this.operatorUseCase      = operatorUseCase;
     this.authorizationUseCase = authorizationUseCase;
     this.userManager          = userManager;
 }