/// <summary> /// This sets up the data. This is data that is expected by the system. /// </summary> public void InitializeDb() { SalesmanCategoryBiz.InitializationData(); VehicalTypeBiz.VehicalTypeDefaultItems(); ProductBiz.InitializationData(); //ProductChildBiz.InitializationData(); }
/// <summary> /// This gets the super salesman category. /// </summary> /// <returns></returns> private SalesmanCategory getSuperSalesmanCategory() { SalesmanCategory sc = SalesmanCategoryBiz.FindByName(SalesmanCategoryENUM.SuperSalesman.ToString().ToTitleSentance()); sc.IsNullThrowException(); return(sc); }
//PersonBiz _personBiz; public SalesmanBiz(IRepositry <Salesman> entityDal, BizParameters bizParameters, SalesmanCategoryBiz salesmanCategoryBiz, AddressBiz addressBiz, CashTrxBiz cashTrxBiz) : base(entityDal, bizParameters, addressBiz, cashTrxBiz) { //_personBiz = personBiz; _salesmanCategoryBiz = salesmanCategoryBiz; }