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"]; }
public DepartmentBusiness(IDepartmentDataAccess departmentDataAccess) { _departmentDataAccess = departmentDataAccess; }