コード例 #1
0
 public ShippingCompanyController(
     IShippingCompanyService shippingCompanyService,
     NotificationHandler notifications,
     IMapper mapper) : base(notifications)
 {
     _shippingCompanyService = shippingCompanyService;
     _mapper = mapper;
 }
コード例 #2
0
 public void Initialize()
 {
     _mockShippingCompanyRepository = new Mock <IShippingCompanyRepository>();
     _shippingCompanyService        = new ShippingCompanyService(_mockShippingCompanyRepository.Object);
 }
コード例 #3
0
 public ShippingCompanyController(IShippingCompanyService shippingCompanyService, ICommonService commonService)
 {
     this._shippingCompanyService = shippingCompanyService;
     _commonService = commonService;
 }
コード例 #4
0
 public ShippingCompaniesController(IShippingCompanyService service) : base()
 {
     _service = service;
 }