Ejemplo n.º 1
0
        public static List <SecureUsersModel> GetAllUsers(Guid ParlourId, int PageSize, int PageNum, string Keyword, string SortBy, string SortOrder)
        {
            SqlDataReader dr = ToolsSetingDAL.GetAllUsers(ParlourId, PageSize, PageNum, Keyword, SortBy, SortOrder);

            //MembersViewModel objViewModel = new MembersViewModel();
            return(FuneralHelper.DataReaderMapToList <SecureUsersModel>(dr));
            //dr.NextResult();
            //dr.Read();
            //objViewModel.TotalRecord = Convert.ToInt64(dr["TotalRecord"]);
            //return objViewModel;
        }
Ejemplo n.º 2
0
 public static int DeleteExpenses(int ID)
 {
     return(ToolsSetingDAL.DeleteExpenses(ID));
 }
Ejemplo n.º 3
0
        public static List <AgentInfoSetupModel> GetAllAgentInfo(Guid ParlourId, int PageSize, int PageNum, string Keyword, string SortBy, string SortOrder)
        {
            SqlDataReader dr = ToolsSetingDAL.GetAllAgentInfo(ParlourId, PageSize, PageNum, Keyword, SortBy, SortOrder);

            return(FuneralHelper.DataReaderMapToList <AgentInfoSetupModel>(dr));
        }
Ejemplo n.º 4
0
        public static SecureUserGroupsModel GetUserAccessByID(int ID, Guid ParlourId)
        {
            SqlDataReader dr = ToolsSetingDAL.GetUserAccessByID(ID, ParlourId);

            return(FuneralHelper.DataReaderMapToList <SecureUserGroupsModel>(dr).FirstOrDefault());
        }
Ejemplo n.º 5
0
        public static BankingDetailSending GetBankingByID(Guid ID)
        {
            SqlDataReader dr = ToolsSetingDAL.GetBankingByID(ID);

            return(FuneralHelper.DataReaderMapToList <BankingDetailSending>(dr).FirstOrDefault());
        }
Ejemplo n.º 6
0
        public static ApplicationSettingsModel GetAllApplicationList2(Guid parlourid, int param, int AppID)
        {
            SqlDataReader dr = ToolsSetingDAL.GetAllApplicationList(parlourid, param, AppID);

            return(FuneralHelper.DataReaderMapToList <ApplicationSettingsModel>(dr).FirstOrDefault());
        }
Ejemplo n.º 7
0
        public static FuneralServiceManageModel SelectFuneralManageServiceByParlANdID(int pkiServiceID, Guid ParlourId)
        {
            SqlDataReader dr = ToolsSetingDAL.SelectFuneralManageServiceByParlANdID(pkiServiceID, ParlourId);

            return(FuneralHelper.DataReaderMapToList <FuneralServiceManageModel>(dr).FirstOrDefault());
        }
Ejemplo n.º 8
0
        public static List <FuneralServiceManageModel> SelectFuneralManageServiceByParlID(Guid ParlourId, int PageSize, int PageNum, string Keyword, string SortBy, string SortOrder)
        {
            SqlDataReader dr = ToolsSetingDAL.SelectFuneralManageServiceByParlID(ParlourId, PageSize, PageNum, Keyword, SortBy, SortOrder);

            return(FuneralHelper.DataReaderMapToList <FuneralServiceManageModel>(dr));
        }
Ejemplo n.º 9
0
 public static int SavePlanDetails(PlanModel model)
 {
     return(ToolsSetingDAL.SavePlanDetails(model));
 }
Ejemplo n.º 10
0
        public static PlanModel GetPlanByID(string ID, Guid ParlourId)
        {
            SqlDataReader dr = ToolsSetingDAL.GetPlanByID(ID, ParlourId);

            return(FuneralHelper.DataReaderMapToList <PlanModel>(dr).FirstOrDefault());
        }
Ejemplo n.º 11
0
 public static int DeleteAddonProduct(Guid ID)
 {
     return(ToolsSetingDAL.DeleteAddonProduct(ID));
 }
Ejemplo n.º 12
0
        public static AddonProductsModal EditAddonProductbyID(Guid ID, Guid ParlourId)
        {
            SqlDataReader dr = ToolsSetingDAL.EditAddonProductbyID(ID, ParlourId);

            return(FuneralHelper.DataReaderMapToList <AddonProductsModal>(dr).FirstOrDefault());
        }
Ejemplo n.º 13
0
        public static List <AddonProductsModal> GetAllAddonProductes(Guid ParlourId)
        {
            SqlDataReader dr = ToolsSetingDAL.GetAllAddonProductes(ParlourId);

            return(FuneralHelper.DataReaderMapToList <AddonProductsModal>(dr));
        }
Ejemplo n.º 14
0
 public static Guid SaveAddonProductDetails(AddonProductsModal model)
 {
     return(ToolsSetingDAL.SaveAddonProductDetails(model));
 }
Ejemplo n.º 15
0
        public static AgentInfoSetupModel SaveAgentInfo(AgentInfoSetupModel model)
        {
            SqlDataReader dr = ToolsSetingDAL.SaveAgentInfo(model);

            return(FuneralHelper.DataReaderMapToList <AgentInfoSetupModel>(dr).FirstOrDefault());
        }
Ejemplo n.º 16
0
        public static ApplicationTnCModel SelectApplicationTermsAndCondition(Guid parlourid)
        {
            SqlDataReader dr = ToolsSetingDAL.SelectApplicationTermsAndCondition(parlourid);

            return(FuneralHelper.DataReaderMapToList <ApplicationTnCModel>(dr).FirstOrDefault());
        }
Ejemplo n.º 17
0
 public static int UpdateAutoPolicyNo(ApplicationSettingsModel Model1)
 {
     return(ToolsSetingDAL.UpdateAutoPolicyNo(Model1));
 }
Ejemplo n.º 18
0
 public static int DeletePlan(int ID)
 {
     return(ToolsSetingDAL.DeletePlan(ID));
 }
Ejemplo n.º 19
0
 public static int SaveFuneralManageService(FuneralServiceManageModel Model1)
 {
     return(ToolsSetingDAL.SaveFuneralManageService(Model1));
 }
Ejemplo n.º 20
0
        public static List <MembersModel> GetAllMemberCellphon(Guid ParlourId)
        {
            SqlDataReader dr = ToolsSetingDAL.GetAllMemberCellphon(ParlourId);

            return(FuneralHelper.DataReaderMapToList <MembersModel>(dr));
        }
Ejemplo n.º 21
0
 public static int DeleteFuneralManageServiceById(int pkiServiceID)
 {
     return(ToolsSetingDAL.DeleteFuneralManageServiceById(pkiServiceID));
 }
Ejemplo n.º 22
0
        public static List <smsTempletModel> GetTemplateList(Guid ParlourId)
        {
            SqlDataReader dr = ToolsSetingDAL.GetTemplateList(ParlourId);

            return(FuneralHelper.DataReaderMapToList <smsTempletModel>(dr));
        }
Ejemplo n.º 23
0
        public static ApplicationSettingsModel GetApplictionByID(int ID)
        {
            SqlDataReader dr = ToolsSetingDAL.GetApplictionByID(ID);

            return(FuneralHelper.DataReaderMapToList <ApplicationSettingsModel>(dr).FirstOrDefault());
        }
Ejemplo n.º 24
0
        public static BankingDetailSending SaveBankingDetail(BankingDetailSending Model)
        {
            SqlDataReader dr = ToolsSetingDAL.SaveBankingDetail(Model);

            return(FuneralHelper.DataReaderMapToList <BankingDetailSending>(dr).FirstOrDefault());
        }
Ejemplo n.º 25
0
        public static AgentInfoSetupModel GetAgentByID(int ID)
        {
            SqlDataReader dr = ToolsSetingDAL.GetAgentByID(ID);

            return(FuneralHelper.DataReaderMapToList <AgentInfoSetupModel>(dr).FirstOrDefault());
        }
Ejemplo n.º 26
0
        public static smsTempletModel GetEmailTemplateByID(int ID, Guid ParlourId)
        {
            SqlDataReader dr = ToolsSetingDAL.GetEmailTemplateByID(ID, ParlourId);

            return(FuneralHelper.DataReaderMapToList <smsTempletModel>(dr).FirstOrDefault());
        }
Ejemplo n.º 27
0
        public static List <ApplicationSettingsModel> GetAllCompanys(Guid ParlourId, int PageSize, int PageNum, string Keyword, string SortBy, string SortOrder)
        {
            SqlDataReader dr = ToolsSetingDAL.GetAllCompanys(ParlourId, PageSize, PageNum, Keyword, SortBy, SortOrder);

            return(FuneralHelper.DataReaderMapToList <ApplicationSettingsModel>(dr));
        }
Ejemplo n.º 28
0
 public static int UpdatesmsTemplate(smsTempletModel model)
 {
     return(ToolsSetingDAL.UpdatesmsTemplate(model));
 }
Ejemplo n.º 29
0
 public static int DeleteCompany(int ID)
 {
     return(ToolsSetingDAL.DeleteCompany(ID));
 }
Ejemplo n.º 30
0
 public static int SaveTermsAndCondition(ApplicationTnCModel Model1)
 {
     return(ToolsSetingDAL.SaveTermsAndCondition(Model1));
 }