Esempio n. 1
0
 public void Initialize()
 {
     manager_customer         = new customer();
     manager_customer_address = new Manager.customer_address();
     manager_status           = new Manager.status();
     utility      = new Utility();
     bol_statuses = new List <BOL.status>();
     bol_customer = new customers();
 }
Esempio n. 2
0
 public Int32 Save()
 {
     bol_customer            = new BOL.customers();
     manager_customer        = new Manager.customer();
     bol_customer.Firstname  = txtFirstName.Text;
     bol_customer.Lastname   = txtLastName.Text;
     bol_customer.Email      = txtEmail.Text;
     bol_customer.Mobile     = txtMobile.Text;
     bol_customer.Isdeleted  = "F";
     bol_customer.Status     = Convert.ToInt32(ddlStatus.SelectedValue);
     bol_customer.Createdby  = Convert.ToInt32(Session["userid"]);
     bol_customer.Createdon  = DateTime.Parse(System.DateTime.Now.ToString("dd/MMM/yyyy"));
     bol_customer.Customerid = manager_customer.Insert(bol_customer);
     return(bol_customer.Customerid);
 }
Esempio n. 3
0
        public void Initialize()
        {
            manager_customer         = new customer();
            manager_customer_address = new Manager.customer_address();
            manager_tickets          = new Manager.tickets();
            manager_tattach          = new Manager.ticketattachment();
            _enums = new Manager.Enums();
            //utility = new Utility();

            bol_ticket       = new BOL.tickets();
            bol_customer     = new BOL.customers();
            bol_ticketattach = new BOL.ticketattachment();
            bol_ticketses    = new List <BOL.tickets>();
            bol_customerses  = new List <BOL.customers>();

            bll_customer     = new BLL.hunaidBLL();
            bll_tickets      = new BLL.tickets();
            bll_ticketattach = new BLL.ticketattachment();
            bll_utility      = new BLL.Utility();

            ConnectionString = Utility.GetConnectionString();
        }