public List <ServiceCoreAvailableDate> GetServiceDates(GetCoreServiceDate getServiceDateObj, AspxCommonInfo aspxCommonObj) { try { AspxServiceProvider objService = new AspxServiceProvider(); List <ServiceCoreAvailableDate> lstServDate = objService.GetServiceDates(getServiceDateObj, aspxCommonObj); return(lstServDate); } catch (Exception e) { throw e; } }
public List <ServiceCoreAvailableDate> GetServiceDates(GetCoreServiceDate getServiceDateObj, AspxCommonInfo aspxCommonObj) { try { List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamSPC(aspxCommonObj); parameter.Add(new KeyValuePair <string, object>("ServiceID", getServiceDateObj.ServiceID)); parameter.Add(new KeyValuePair <string, object>("BranchID", getServiceDateObj.BranchID)); parameter.Add(new KeyValuePair <string, object>("EmployeeID", getServiceDateObj.EmployeeID)); OracleHandler sqlh = new OracleHandler(); List <ServiceCoreAvailableDate> lstServDate = sqlh.ExecuteAsList <ServiceCoreAvailableDate>("usp_Aspx_GetServiceDates", parameter); return(lstServDate); } catch (Exception e) { throw e; } }
public List<ServiceCoreAvailableDate> GetServiceDates(GetCoreServiceDate getServiceDateObj, AspxCommonInfo aspxCommonObj) { try { AspxServiceProvider objService = new AspxServiceProvider(); List<ServiceCoreAvailableDate> lstServDate = objService.GetServiceDates(getServiceDateObj, aspxCommonObj); return lstServDate; } catch (Exception e) { throw e; } }
public List<ServiceCoreAvailableDate> GetServiceDates(GetCoreServiceDate getServiceDateObj, AspxCommonInfo aspxCommonObj) { try { List<KeyValuePair<string, object>> parameter = CommonParmBuilder.GetParamSPC(aspxCommonObj); parameter.Add(new KeyValuePair<string, object>("@ServiceID", getServiceDateObj.ServiceID)); parameter.Add(new KeyValuePair<string, object>("@BranchID", getServiceDateObj.BranchID)); parameter.Add(new KeyValuePair<string, object>("@EmployeeID", getServiceDateObj.EmployeeID)); SQLHandler sqlh = new SQLHandler(); List<ServiceCoreAvailableDate> lstServDate = sqlh.ExecuteAsList<ServiceCoreAvailableDate>("[dbo].[usp_Aspx_GetServiceDates]", parameter); return lstServDate; } catch (Exception e) { throw e; } }