示例#1
0
 public CustomerController(ICustomerRepository customerRepository, IStateRepository stateRepository,
                           ICountryRepository countryRepository, ISalutationRepository salutationRepository)
 {
     _customerRepository   = customerRepository;
     _stateRepository      = stateRepository;
     _countryRepository    = countryRepository;
     _salutationRepository = salutationRepository;
 }
示例#2
0
 public SalutationsController(ISalutationRepository salutationRepository, IMapper mapper)
 {
     _Mapper = mapper;
     _salutationRepository = salutationRepository;
 }
示例#3
0
 public SalutationController(ISalutationRepository salutationRepository)
 {
     this.salutationRepository = salutationRepository;
 }
示例#4
0
 public SalutationService(ISalutationRepository salutationRepository, IMapper mapper) : base(salutationRepository)
 {
     _salutationRepository = salutationRepository;
     _mapper = mapper;
 }