Beispiel #1
0
 public static bool CheckServiceProviderUniqueness(AspxCommonInfo aspxCommonObj, ServiceProviderInfo providerUniqueInfo)
 {
     try
     {
         bool isSPUnique = AspxServiceProvider.CheckServiceProviderUniqueness(aspxCommonObj, providerUniqueInfo);
         return(isSPUnique);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #2
0
 public static List <ServiceProviderInfo> GetServiceProviderNameList(AspxCommonInfo aspxCommonObj, int storeBranchId)
 {
     try
     {
         List <ServiceProviderInfo> lstServProv = AspxServiceProvider.GetServiceProviderNameList(aspxCommonObj, storeBranchId);
         return(lstServProv);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #3
0
 public static List <ServiceProviderInfo> GetBranchProviderNameList(int offset, int?limit, int storeBranchId, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <ServiceProviderInfo> lstServProv = AspxServiceProvider.GetBranchProviderNameList(offset, limit, storeBranchId, aspxCommonObj);
         return(lstServProv);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #4
0
 public static List <AppointmentSatusInfoBasic> GetAppointmentStatusListGrid(int limit, int offset, string statusName, bool?isActive, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <AppointmentSatusInfoBasic> lstAppointStatus = AspxServiceProvider.GetAppointmentStatusListGrid(limit, offset, statusName, isActive, aspxCommonObj);
         return(lstAppointStatus);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #5
0
 public static List <AppointmentStatusInfo> GetAppointmentStatusList(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <AppointmentStatusInfo> lstAppointStatus = AspxServiceProvider.GetAppointmentStatusList(aspxCommonObj);
         return(lstAppointStatus);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #6
0
 public static List <BookAppointmentGridInfo> GetBookAppointmentList(int offset, int limit, AspxCommonInfo aspxCommonObj, string appointmentStatusName, string branchName, string employeeName)
 {
     try
     {
         List <BookAppointmentGridInfo> lstBookAppoint = AspxServiceProvider.GetBookAppointmentList(offset, limit, aspxCommonObj, appointmentStatusName, branchName, employeeName);
         return(lstBookAppoint);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #7
0
 public static List <OrderServiceDetailInfo> GetServiceDetailsByOrderID(int orderID, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <OrderServiceDetailInfo> lstBookAppoint = AspxServiceProvider.GetServiceDetailsByOrderID(orderID, aspxCommonObj);
         return(lstBookAppoint);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #8
0
 public List <ServiceManageInfo> GetServiceEmployeeDetails(int offset, int limit, AspxCommonInfo aspxCommonInfo, int serviceId, int employeeId, int branchID, string itemName)
 {
     try
     {
         List <ServiceManageInfo> list = AspxServiceProvider.GetServiceEmployeeDetails(offset, limit, aspxCommonInfo, serviceId, employeeId, branchID, itemName);
         return(list);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #9
0
 public List <ServiceGridListInfo> GetAllServiceList(int offset, int limit, AspxCommonInfo aspxCommonInfo, string serviceName, string branchName)
 {
     try
     {
         List <ServiceGridListInfo> list = AspxServiceProvider.GetAllServiceList(offset, limit, aspxCommonInfo, serviceName, branchName);
         return(list);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #10
0
 public List <BookingDetailsInfo> GetBookingDetails(int offset, int limit, AspxCommonInfo aspxCommonInfo, int employeeId, int?statusId, int branchID)
 {
     try
     {
         List <BookingDetailsInfo> list = AspxServiceProvider.GetServiceBookingDetails(offset, limit, aspxCommonInfo, employeeId, statusId, branchID);
         return(list);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #11
0
 public static List <StoreLocatorInfo> GetAllStoresForService(AspxCommonInfo aspxCommonObj, int?serviceCategoryId)
 {
     try
     {
         List <StoreLocatorInfo> lstStoreLocator = AspxServiceProvider.GetAllStoresForService(aspxCommonObj, serviceCategoryId);
         return(lstStoreLocator);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #12
0
 public static List <BookAppointmentInfo> GetAppointmentDetailsForExport(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <BookAppointmentInfo> lstBookAppoint = AspxServiceProvider.GetAppointmentDetailsForExport(aspxCommonObj);
         return(lstBookAppoint);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #13
0
 public List <ServiceBookedTime> GetServiceBookedTime(GetServiceBookedTimeInfo bookedTimeObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxServiceProvider      objService = new AspxServiceProvider();
         List <ServiceBookedTime> lstSBTime  = objService.GetServiceBookedTime(bookedTimeObj, aspxCommonObj);
         return(lstSBTime);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #14
0
 public List <ServiceCoreAvailableTime> GetServiceAvailableTime(GetServiceCoreAvailableTime getServiceTimeObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxServiceProvider             objService  = new AspxServiceProvider();
         List <ServiceCoreAvailableTime> lstServTime = objService.GetServiceAvailableTime(getServiceTimeObj, aspxCommonObj);
         return(lstServTime);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #15
0
 public List <ServiceProviderInfo> GetServiceProviderNameListFront(AspxCommonInfo aspxCommonObj, int storeBranchId, int serviceCategoryId)
 {
     try
     {
         AspxServiceProvider        objService  = new AspxServiceProvider();
         List <ServiceProviderInfo> lstServProv = objService.GetServiceProviderNameListFront(aspxCommonObj, storeBranchId, serviceCategoryId);
         return(lstServProv);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Beispiel #16
0
 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 static bool SaveBookAppointment(int appointmentId, AspxCommonInfo aspxCommonObj, BookAppointmentInfo obj)
        {
            var isSuccess = false;

            try
            {
                AspxServiceProvider.SaveBookAppointment(appointmentId, aspxCommonObj, obj);
                isSuccess = true;
            }
            catch (Exception)
            {
                isSuccess = false;
            }
            return(isSuccess);
        }
Beispiel #18
0
        public void SaveServiceItem(AspxCommonInfo aspxCommonObj, int categoryId, List <ServiceItemInfo> serviceInfo)
        {
            SQLHandler     sqlH = new SQLHandler();
            SqlTransaction tran;

            tran = (SqlTransaction)sqlH.GetTransaction();
            try
            {
                AspxServiceProvider.SaveServiceItem(aspxCommonObj, categoryId, serviceInfo, tran);
                tran.Commit();
            }
            catch (Exception e)
            {
                tran.Rollback();
                throw e;
            }
        }
        public static List <ServiceItemInfo> GetServiceItemInfo(AspxCommonInfo aspxCommonObj, int categoryId)
        {
            List <ServiceItemInfo> serviceInfo = AspxServiceProvider.GetServiceItemInfo(aspxCommonObj, categoryId);

            return(serviceInfo);
        }
 public static void AddUpdateAppointmentStatus(AspxCommonInfo aspxCommonObj, AppointmentSatusInfoBasic appointmentStatusObj)
 {
     AspxServiceProvider.AddUpdateAppointmentStatus(aspxCommonObj, appointmentStatusObj);
 }
 public List<ServiceBookedTime> GetServiceBookedTime(GetServiceBookedTimeInfo bookedTimeObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxServiceProvider objService = new AspxServiceProvider();
         List<ServiceBookedTime> lstSBTime = objService.GetServiceBookedTime(bookedTimeObj, aspxCommonObj);
         return lstSBTime;
     }
     catch (Exception e)
     {
         throw e;
     }
 }
       public List<ServiceCoreAvailableTime> GetServiceAvailableTime(GetServiceCoreAvailableTime getServiceTimeObj, AspxCommonInfo aspxCommonObj)
       {
           try
           {
               AspxServiceProvider objService = new AspxServiceProvider();
               List<ServiceCoreAvailableTime> lstServTime = objService.GetServiceAvailableTime(getServiceTimeObj, aspxCommonObj);
               return lstServTime;
           }
           catch (Exception e)
           {

               throw e;
           }

       }
 public List<ServiceProviderInfo> GetServiceProviderNameListFront(AspxCommonInfo aspxCommonObj, int storeBranchId, int serviceCategoryId)
 {
     try
     {
         AspxServiceProvider objService = new AspxServiceProvider();
         List<ServiceProviderInfo> lstServProv = objService.GetServiceProviderNameListFront(aspxCommonObj, storeBranchId, serviceCategoryId);
         return lstServProv;
     }
     catch (Exception e)
     {
         throw e;
     }
 }
       public bool SaveBookAppointment(int appointmentId, AspxCommonInfo aspxCommonObj, BookAnAppointmentCoreInfo obj)
       {
           var isSuccess = false;
           try
           {
               AspxServiceProvider objService = new AspxServiceProvider();
               objService.SaveBookAppointment(appointmentId, aspxCommonObj, obj);
               isSuccess = true;
           }
           catch (Exception)
           {
               isSuccess = false;

           }
           return isSuccess;
       }
 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;
     }
 }