public DataTable GetCustomerListByActivationStatus(string isActive) { CustomerDAL customer = new CustomerDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(); DataTable dt = customer.GetCustomerListByActivationStatus(isActive, db); db.Stop(); return dt; } catch (Exception) { throw; } finally { customer = null; } }
public DataTable SaveCustomer() { CustomerDAL customer = new CustomerDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(true); DataTable dt = customer.SaveCustomer(this, db); db.Stop(); return dt; } catch (Exception) { throw; } finally { customer = null; } }
public DataTable GetCustomerList() { CustomerDAL customer = new CustomerDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(); DataTable dt = customer.GetCustomerList(db); db.Stop(); return dt; } catch (Exception) { throw; } finally { customer = null; } }
public DataTable GetCustomerWisePaymentList(string customerId, string fromDate, string toDate, string status) { CustomerDAL customer = new CustomerDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(); DataTable dt = customer.GetCustomerWisePaymentList(customerId, fromDate, toDate, status, db); db.Stop(); return dt; } catch (Exception) { throw; } finally { customer = null; } }
public void UpdateCustomer() { CustomerDAL customer = new CustomerDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(true); customer.UpdateCustomer(this, db); db.Stop(); } catch (Exception) { throw; } finally { customer = null; } }
public void DeleteCustomer(string customerId) { CustomerDAL customer = new CustomerDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(true); customer.DeleteCustomer(customerId, db); db.Stop(); } catch (Exception) { throw; } finally { customer = null; } }
public void UpdateCustomerActivation(string customerId, string activationStatus) { CustomerDAL customer = new CustomerDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(true); customer.UpdateCustomerActivation(customerId, activationStatus, db); db.Stop(); } catch (Exception) { throw; } finally { customer = null; } }
public DataTable GetDeletedCustomerListByDateRangeAll(string fromDate, string toDate, string search) { CustomerDAL customer = new CustomerDAL(); try { LumexDBPlayer db = LumexDBPlayer.Start(); DataTable dt = customer.GetDeletedCustomerListByDateRangeAll(fromDate, toDate, search, db); db.Stop(); return dt; } catch (Exception) { throw; } finally { customer = null; } }