示例#1
0
 public PartEntryModel(IPartDataAccess aPartDataAccess,
                       IUoMDataAccess aUoMDataAccess,
                       IDepartmentDataAccess aDepartmentDataAccess,
                       IMaterialAlloyDataAccess aMaterialAlloyDataAccess,
                       IMaterialSeriesDataAccess aMaterialSeriesDataAccess)
 {
     PartDataAccess           = aPartDataAccess;
     UoMDataAccess            = aUoMDataAccess;
     DepartmentDataAccess     = aDepartmentDataAccess;
     MaterialAlloyDataAccess  = aMaterialAlloyDataAccess;
     MaterialSeriesDataAccess = aMaterialSeriesDataAccess;
 }
        //Bound Properties


        public OrderEntryIndexModel(IShipViaCodeDataAccess aShipViaCodeDataAccess,
                                    ICustomerDataAccess aCustomerDataAccess,
                                    IUoMDataAccess aUoMDataAccess,
                                    IPackageCodeDataAccess aPackagingCodeDataAccess,
                                    IContainerTypeDataAccess aContainerTypeDataAccess,
                                    ICertificationChargeDataAccess aCertChargeDataAccess,
                                    IMaterialAlloyDataAccess aMaterialAlloyDataAccess,
                                    IMaterialSeriesDataAccess aMaterialSeriesDataAccess,
                                    IDepartmentDataAccess aDepartmentDataAccess,
                                    IConfiguration aConfig)
        {
            ShipViaCodeDataAccess         = aShipViaCodeDataAccess;
            CustomerDataAccess            = aCustomerDataAccess;
            UoMDataAccess                 = aUoMDataAccess;
            PackageCodeDataAccess         = aPackagingCodeDataAccess;
            ContainerTypeDataAccess       = aContainerTypeDataAccess;
            CertificationChargeDataAccess = aCertChargeDataAccess;
            AlloyDataAccess               = aMaterialAlloyDataAccess;
            SeriesDataAccess              = aMaterialSeriesDataAccess;
            DepartmentDataAccess          = aDepartmentDataAccess;
            Config      = aConfig;
            _apiAddress = aConfig["APIAddress"];
        }
示例#3
0
 public DepartmentBusiness(IDepartmentDataAccess departmentDataAccess)
 {
     _departmentDataAccess = departmentDataAccess;
 }