Пример #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);
 }