public TransportRulesController(
     ITransportRuleService serv,
     ITransportCostRuleService costServ,
     IMapper map) : base(serv, map)
 {
     _costServ = costServ;
 }
 public TransportRulesController(
     ITransportRuleService serv,
     ITransportCostRuleService costServ,
     IMapper map)
 {
     this.serv = serv;
     _costServ = costServ;
     this.map  = map;
 }
예제 #3
0
        public void AddTransportRule()
        {
            // DEPENDENCIES
            _servTR = container.GetRequiredService <ITransportRuleService>();

            // ARRANGE
            _tr = (TransportRule)Records.transportRule.Clone();

            // ACT
            _servTR.Create(_tr, _user);
        }
예제 #4
0
 public OnlineOrdersService(
     IWorkOrderService woServ,
     ITransportRuleService trServ,
     ITransportProvidersService tpServ
     )
 {
     //this.eserv = eServ;
     this.woserv = woServ;
     this.trServ = trServ;
     this.tpServ = tpServ;
 }
예제 #5
0
 public OnlineOrdersController(
     IOnlineOrdersService serv,
     IEmployerService eServ,
     IWorkOrderService woServ,
     ITransportRuleService trServ,
     IMapper map,
     IConfigService cServ)
 {
     this.serv   = serv;
     this.eServ  = eServ;
     this.woServ = woServ;
     this.trServ = trServ;
     this.map    = map;
     this.cServ  = cServ;
 }
예제 #6
0
        public FluentRecordBase AddTransportRule(
            )
        {
            //
            // DEPENDENCIES
            _servTR = container.Resolve <ITransportRuleService>();

            //
            // ARRANGE
            _tr = (TransportRule)Records.transportRule.Clone();

            //
            // ACT
            _servTR.Create(_tr, _user);
            return(this);
        }
예제 #7
0
 public OnlineOrdersService(
     IWorkOrderService woServ,
     IWorkAssignmentService waServ,
     ITransportRuleService trServ,
     ITransportProvidersService tpServ,
     ILookupService lServ,
     IMapper map)
 {
     this.map = map;
     //this.eserv = eServ;
     this.woserv = woServ;
     this.waserv = waServ;
     this.trServ = trServ;
     this.tpServ = tpServ;
     this.lServ  = lServ;
 }