public List <ServiceAvailableDate> GetServiceDates(GetServiceDate getServiceDateObj, AspxCommonInfo aspxCommonObj) { try { ServiceItemController objService = new ServiceItemController(); List <ServiceAvailableDate> lstServDate = objService.GetServiceDates(getServiceDateObj, aspxCommonObj); return(lstServDate); } catch (Exception e) { throw e; } }
public List <ServiceAvailableDate> GetServiceDates(GetServiceDate getServiceDateObj, AspxCommonInfo aspxCommonObj) { List <ServiceAvailableDate> serviceDates; try { serviceDates = (new ServiceItemController()).GetServiceDates(getServiceDateObj, aspxCommonObj); } catch (Exception exception) { throw exception; } return(serviceDates); }