コード例 #1
0
 // GET: api/PurchaseLineExtend
 public PurchaseLineExtendController(IRepositorySageX3Extend <PurchaseLineExtend> repo,
                                     IRepositoryDapperSageX3 <PurchaseRequestLinePureViewModel> repoPrLinePure,
                                     IMapper mapper,
                                     IHelperService helper,
                                     JsonSerializerService jsonService) : base(repo, mapper, helper, jsonService)
 {
     this.repositoryPrLinePure = repoPrLinePure;
 }
コード例 #2
0
 // GET: api/TaskStatusMaster
 public TaskStatusMasterController(IRepositorySageX3Extend <TaskStatusMaster> repo,
                                   IRepositorySageX3Extend <TaskStatusDetail> repoDetail,
                                   IMapper mapper,
                                   IHelperService helper,
                                   JsonSerializerService jsonService
                                   ) : base(repo, mapper, helper, jsonService)
 {
     this.repositoryDetail = repoDetail;
 }
コード例 #3
0
 public PurchaseOrderHeaderController(IRepositorySageX3Extend <PurchaseOrderHeader> repo,
                                      IRepositorySageX3Extend <PurchaseExtend> repoPurchase,
                                      IRepositorySageX3Extend <PurchaseLineExtend> repoPurchaseLine,
                                      IMapper mapper,
                                      IHelperService helper,
                                      JsonSerializerService jsonService) : base(repo, mapper, helper, jsonService)
 {
     this.repositoryPurchase     = repoPurchase;
     this.repositoryPurchaseLine = repoPurchaseLine;
 }
コード例 #4
0
 public GenericSageX3ExtendController(
     IRepositorySageX3Extend <Entity> repo,
     IMapper mapper,
     IHelperService helper,
     JsonSerializerService jsonService)
 {
     this.repository          = repo;
     this.mapper              = mapper;
     this.DefaultJsonSettings = jsonService.Create();
     this.helperService       = helper;
 }
コード例 #5
0
 // GET: api/PurchaseExtends
 public PurchaseExtendsController(IRepositorySageX3Extend <PurchaseExtend> repo,
                                  IRepositorySageX3Extend <PurchaseLineExtend> repoPurchaseLine,
                                  IRepositoryDapperSageX3 <PurchaseRequestPureViewModel> repoPrPure,
                                  IRepositoryDapperSageX3 <PrOutStandingViewModel> repoPrOutStanding,
                                  IMapper mapper,
                                  IHelperService helper,
                                  JsonSerializerService jsonService) : base(repo, mapper, helper, jsonService)
 {
     this.repositoryPurchaseLine = repoPurchaseLine;
     this.repositoryPrPure       = repoPrPure;
     // Dapper
     this.repositoryPrOutStanding = repoPrOutStanding;
 }
コード例 #6
0
 // GET: api/TaskStatusDetail
 public TaskStatusDetailController(IRepositorySageX3Extend <TaskStatusDetail> repo,
                                   IMapper mapper,
                                   IHelperService helper,
                                   JsonSerializerService jsonService) : base(repo, mapper, helper, jsonService)
 {
 }