public PurchasingManager(GlobalConfig.DB.FromType fromType) { _purchasing = new DAL.Implement.Inventory.Purchasing(fromType); _purchasingDetail = new PurchasingDetail(fromType); _companyCussent = new CompanyCussent(fromType); _procurementTicketLimitDal = new ProcurementTicketLimitDAL(fromType); }
public PurchasingManager(IPurchasing iPurchasing, IGoodsCenterSao goodsInfoSao, IPurchasingDetail purchasingDetail, ICompanyCussent companyCussent, ProcurementTicketLimitDAL procurementTicketLimitDal) { _purchasing = iPurchasing; _goodsInfoSao = goodsInfoSao; _purchasingDetail = purchasingDetail; _companyCussent = companyCussent; _procurementTicketLimitDal = procurementTicketLimitDal; }