public StoreGrade GetStoreFlourStock2(IEnumerable <Models.StoreGradeSize> list) { var storeGrade = new StoreGrade() { StoreSizeGrades = list, }; return(storeGrade); }
public StoreGrade GetStoreBuveraStockForView(IEnumerable <Models.StoreBuveraGradeSize> list) { var storeGrade = new StoreGrade() { StoreBuveraSizeGrades = list, }; return(storeGrade); }
private void DefaultData() { DataSet dsStat = dal.FactoryDAL(PageHelper.ConnectionStrings, "FW_USER_SP", new List <IFields>() { dal.CreateIFields() .Append("Option", "GetStat") }).GetList(); StoreStat.DataSource = dsStat; StoreStat.DataBind(); DataSet dsGrade = dal.FactoryDAL(PageHelper.ConnectionStrings, "FW_USER_SP", new List <IFields>() { dal.CreateIFields() .Append("Option", "GetGrade") }).GetList(); StoreGrade.DataSource = dsGrade; StoreGrade.DataBind(); DataSet dsDept = dal.FactoryDAL(PageHelper.ConnectionStrings, "FW_USER_SP", new List <IFields>() { dal.CreateIFields() .Append("Option", "GetDept") }).GetList(); StoreDept.DataSource = dsDept; StoreDept.DataBind(); DataSet dsGroup = dal.FactoryDAL(PageHelper.ConnectionStrings, "FW_USER_SP", new List <IFields>() { dal.CreateIFields() .Append("Option", "GetGroup") }).GetList(); StoreSys.DataSource = dsGroup; StoreSys.DataBind(); cmbUserStat.SelectedItem.Value = "CON/HKG"; cmbSys.SelectedItem.Value = "G09"; cmbUserGrade.SelectedItem.Value = "User"; cmbUserDept.SelectedItem.Value = "OP"; }