Example #1
0
    private void Manage()
    {
        string[] result = SupplierBAL.Manage(Request.Form, Request.QueryString).Split(',');

        var supplier = new Supplier {
            SupplierID = Convert.ToInt32(result[0]), Code = result[1]
        };

        Response.Write(supplier.ToJSON());
    }
Example #2
0
 public AdminBAL()
 {
     accountBal   = new AccountBAL();
     orderBal     = new OrderBAL();
     bookBal      = new BookBAL();
     authorBal    = new AuthorBAL();
     crudBookBal  = new CRUDBookBAL();
     categoryBal  = new CategoryBAL();
     formBookBal  = new FormBookBAL();
     supplierBal  = new SupplierBAL();
     publisherBal = new PublisherBAL();
 }
Example #3
0
 private void GetSupplier()
 {
     Response.Write(SupplierBAL.GetSupplier(Request.QueryString).ToJSON());
 }
Example #4
0
 public PSupplier()
 {
     supplierBal = new SupplierBAL();
 }