public LoginController(IUnitOfWork unitOfWork,
                        IAuthenticationProvider authenticationProvider,
                        IResellerService resellerService) : base(unitOfWork)
 {
     _authenticationProvider = authenticationProvider;
     _resellerService        = resellerService;
 }
 public ResellerController(IResellerService resellerservice, IRoleService Rs, IClientService Cs, ISubscriptionsService Ss)
 {
     this.ResellerService = resellerservice;
     this.RoleService     = Rs;
     this.ClientService   = Cs;
     this.SubService      = Ss;
 }
예제 #3
0
 public ClientController(IActionService As, IClientService clientservice, IResellerService resellerservice, IRoleService Rs, ISubscriptionsService SS)
 {
     this.ActionService       = As;
     this.ClientService       = clientservice;
     this.ResellerService     = resellerservice;
     this.RoleService         = Rs;
     this.SubscriptionService = SS;
 }
 public AccountController(IActionService As, IRoleService Rs, IClientService Cs, IResellerService ResellerServ, ISubscriptionsService SS)
 {
     ActionService        = As;
     roleService          = Rs;
     ClientService        = Cs;
     ResellerService      = ResellerServ;
     SubscriptionsService = SS;
 }
예제 #5
0
 public OrganizationVatChangedMailBuilderService(
     IAppSettings arg0,
     IResellerService arg1,
     IInvoicingContactService arg2
     )
 {
     field0 = arg0;
     field1 = arg1;
     field2 = arg2;
 }
예제 #6
0
 public OrganizationNameChangedMailBuilderService(
     IContextService arg0,
     IAppSettings arg1,
     IResellerService arg2
     )
 {
     field0 = arg0;
     field1 = arg1;
     field2 = arg2;
 }
예제 #7
0
 public SalesController(
     ISalesService salesService,
     IResellerService resellerService,
     IMapper mapper,
     ILogger <SalesController> logger
     )
 {
     this.salesService    = salesService;
     this.resellerService = resellerService;
     this.mapper          = mapper;
     this.logger          = logger;
 }
예제 #8
0
        public CreateResellerDTOValidator(IResellerService resellerService)
        {
            _resellerService = resellerService;

            RuleFor(x => x.Name).NotNull().WithMessage("Nome é obrigratório").MaximumLength(500);

            RuleFor(x => x.Email).NotNull().WithMessage("Email é obrigratório")
            .Must(ValidateEmail).WithMessage("Digite um email válido")
            .Must(EmailExists).WithMessage("Email já cadastrado")
            .MaximumLength(500);

            RuleFor(x => x.CPF).NotNull().WithMessage("CPF é obrigratório")
            .Must(VerifyExistsCPF).WithMessage("Já existe um cpf cadastrado")
            .Must(ValidateCPF).WithMessage("Cpf inválido")
            .MaximumLength(11);

            RuleFor(x => x.Password).NotNull().WithMessage("Senha é obrigratório");
            RuleFor(x => x.LastName).MaximumLength(500);
        }
예제 #9
0
 public CustomerController(IResellerService ResellerService, IGraphService GraphService, ICRESTService CrestService)
 {
     this.resellerService = ResellerService;
     this.graphService    = GraphService;
     this.crestService    = CrestService;
 }
예제 #10
0
 public CustomerController(IResellerService ResellerService, IGraphService GraphService, ICRESTService CrestService)
 {
     this.resellerService = ResellerService;
     this.graphService = GraphService;
     this.crestService = CrestService;
 }
예제 #11
0
 public ResellerController(IUnitOfWork unitOfWork, IResellerService resellerService) : base(unitOfWork)
 {
     _resellerService = resellerService;
 }
예제 #12
0
 public SubscriptionController(IResellerService ResellerService, IGraphService GraphService, ICRESTService CrestService)
 {
     this.resellerService = ResellerService;
     this.graphService    = GraphService;
     this.crestService    = CrestService;
 }
예제 #13
0
 public ResellerController(IResellerService service, AuthService authService, IMapper mapper)
 {
     this.resellerService = service;
     this.authService     = authService;
     this.mapper          = mapper;
 }
 public SubscriptionController(IResellerService ResellerService, IGraphService GraphService, ICRESTService CrestService)
 {
     this.resellerService = ResellerService;
     this.graphService = GraphService;
     this.crestService = CrestService;
 }
예제 #15
0
 public ResellerController(IAuthenticationService authenticationService, IResellerService resellerService, ILoggerFactory logFactory)
 {
     _logger = logFactory.CreateLogger <ResellerController>();
     _authenticationService = authenticationService;
     _resellerService       = resellerService;
 }