Beispiel #1
0
 public PedidoService(IPedidoRepository baseRepository, IProdutoCorRepository produtoCorRepository, IKitsRepository kitsRepository,
                      IEmailSenderServices emailSenderServices, IUsuarioRepository usuarioRepository, ICorreiosInfrastructure correiosInfrastructure, UserManager <IdentityUser> userManager, ICieloCheckout cieloCheckout, IPagarMeCheckout pagarMeCheckout, IEmpresaRepository empresaRepository) : base(baseRepository)
 {
     _baseRepository         = baseRepository;
     _produtoCorRepository   = produtoCorRepository;
     _kitsRepository         = kitsRepository;
     _emailSenderServices    = emailSenderServices;
     _usuarioRepository      = usuarioRepository;
     _correiosInfrastructure = correiosInfrastructure;
     _userManager            = userManager;
     _cieloCheckout          = cieloCheckout;
     _pagarMeCheckout        = pagarMeCheckout;
     _empresaRepository      = empresaRepository;
 }
Beispiel #2
0
 public CorreioServices(ICorreiosInfrastructure correiosInfrastructure, IPedidoRepository pedidoRepository)
 {
     _correiosInfrastructure = correiosInfrastructure;
     _pedidoRepository       = pedidoRepository;
 }