示例#1
0
        public void deleteDealer(int id)
        {
            var dic = new Dictionary <string, object>();

            dic.Add("Id", id);
            ProcessComponent.HttpGet <DealerDTO>("rest/Dealer/Remove/{id}", dic, MediaType.Json);
        }
示例#2
0
        public void deleteCategory(int id)
        {
            var dic = new Dictionary <string, object>();

            dic.Add("Id", id);
            ProcessComponent.HttpGet <Category>("rest/Category/Remove/{id}", dic, MediaType.Json);
        }
示例#3
0
 public void editCategory(Category category)
 {
     ProcessComponent.HttpPost <Category>("rest/Category/Edit", category, MediaType.Json);
 }
示例#4
0
 public void insertCategory(Category category)
 {
     ProcessComponent.HttpPost <Category>("rest/Category/Add", category, MediaType.Json);
 }
示例#5
0
 public void insertDealer(Dealer Dealer)
 {
     ProcessComponent.HttpPost <Dealer>("rest/Dealer/Add", Dealer, MediaType.Json);
 }
示例#6
0
 public void editDealer(Dealer Dealer)
 {
     ProcessComponent.HttpPost <Dealer>("rest/Dealer/Edit", Dealer, MediaType.Json);
 }
示例#7
0
 public void insertProduct(Product Product)
 {
     ProcessComponent.HttpPost <Product>("rest/Product/Add", Product, MediaType.Json);
 }
示例#8
0
 public void editProduct(Product Product)
 {
     ProcessComponent.HttpPost <Product>("rest/Product/Edit", Product, MediaType.Json);
 }
示例#9
0
 public void insertOrder(Order Order)
 {
     ProcessComponent.HttpPost <Order>("rest/Order/Add", Order, MediaType.Json);
 }
示例#10
0
 public void editOrder(Order Order)
 {
     ProcessComponent.HttpPost <Order>("rest/Order/Edit", Order, MediaType.Json);
 }
 public void insertCartItemDTO(CartItemDTO CartItemDTO)
 {
     ProcessComponent.HttpPost<CartItemDTO>("rest/CartItemDTO/Add", CartItemDTO, MediaType.Json);
 }
 public void editClient(Client Client)
 {
     ProcessComponent.HttpPost <Client>("rest/Client/Edit", Client, MediaType.Json);
 }
 public void insertClient(Client Client)
 {
     ProcessComponent.HttpPost <Client>("rest/Client/Add", Client, MediaType.Json);
 }
 public void editCountry(Country Country)
 {
     ProcessComponent.HttpPost <Country>("rest/Country/Edit", Country, MediaType.Json);
 }
 public void insertCountry(Country Country)
 {
     ProcessComponent.HttpPost <Country>("rest/Country/Add", Country, MediaType.Json);
 }