public static SearchCatalogByTextEntity[] SearchCatalogbyText(SearchCatalogByConditionEntity obj) { List <SearchCatalogByTextEntity> details = new List <SearchCatalogByTextEntity>(); try { details = new GenericDAO().SearchCatalogbyText(obj); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static string[] VerifyLedgerbyName(string str) { List <string> ledgers = new List <string>(); try { ledgers = new GenericDAO().GetLedgerbyName(str); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(ledgers.ToArray()); }
public static UserRightsEntity[] GetUserRights() { var details = new List <UserRightsEntity>(); try { details = new GenericDAO().GetUserRights(Convert.ToInt64(HttpContext.Current.Session["USER_ID"])); } catch (Exception ex) { //details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static string[] GetLatestTrasnsactionNumber() { List <string> lstvalues = new List <string>(); try { lstvalues = new GenericDAO().GetLatestTrasnsactionNumber("OUTWARD"); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(lstvalues.ToArray()); }
public static RoleMasterEntity[] GetRoles() //Show the details of the data after insert in HTML Table { var details = new List <RoleMasterEntity>(); try { details = new GenericDAO().GetActiveRoleList(); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static OutwardTypeMasterEntity[] GetActiveOutwardTypeList() { var details = new List <OutwardTypeMasterEntity>(); try { details = new GenericDAO().GetActiveOutwardTypeList(); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static string[] GetCurrentDate() { List <string> lstvalues = new List <string>(); try { lstvalues = new GenericDAO().GetCurrentDate(); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(lstvalues.ToArray()); }
public static CityStateMasterEntity[] GetCityByState(string str) //Show the details of the data after insert in HTML Table { var details = new List <CityStateMasterEntity>(); try { details = new GenericDAO().GetCityByState(str); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static ClientSearchEntity[] GetClientSearchList(string filterby, string filtertext) { var details = new List <ClientSearchEntity>(); try { details = new GenericDAO().GetClientSearchList(filterby, filtertext); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static GenericIdNameEntity[] GetActiveTaskStages() { var details = new List <GenericIdNameEntity>(); try { details = new GenericDAO().GetActiveTaskStagesList(); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static PendingBillsByClient[] GetPendingBillsbyClientID(Int64 id) { var details = new List <PendingBillsByClient>(); try { details = new GenericDAO().GetPendingBillsbyClientID(id); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static PendingBillClients[] GetPendingBillsCustomers() { var details = new List <PendingBillClients>(); try { details = new GenericDAO().GetPendingBillsCustomers(); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static TransSeriesEntity [] GetData() //Show the details of the data after insert in HTML Table { var details = new List <TransSeriesEntity>(); try { details = new GenericDAO().GetSeriesNoList(); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }