public List <sp_MAS_ComboCustomer_Result> GetComboCustomer(bool IncludeDel) { try { using (OIS_MASEntities ct = new OIS_MASEntities()) { var result = ct.sp_MAS_ComboCustomer(IncludeDel).ToList(); return(result); } } catch (Exception ex) { throw ex; } }
public List <sp_MAS_ComboLanguage_Result> GetComboLanguage() { try { using (OIS_MASEntities ct = new OIS_MASEntities()) { var result = ct.sp_MAS_ComboLanguage().ToList(); return(result); } } catch (Exception ex) { throw ex; } }
public List <sp_MAS_ComboSubDivision_Result> GetComboSubDivision(int DivisionId, bool IncludeDel) { try { using (OIS_MASEntities ct = new OIS_MASEntities()) { var result = ct.sp_MAS_ComboSubDivision(DivisionId, IncludeDel).ToList(); return(result); } } catch (Exception ex) { throw ex; } }
public BindingList <sp_MAS_ComboReportCode_Result> GetComboReportCode(string Group) { try { using (OIS_MASEntities ct = new OIS_MASEntities()) { var result = ct.sp_MAS_ComboReportCode(Group).ToList(); return(new BindingList <sp_MAS_ComboReportCode_Result>(result)); } } catch (Exception ex) { throw ex; } }