Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #3
0
 public void editCategory(Category category)
 {
     ProcessComponent.HttpPost <Category>("rest/Category/Edit", category, MediaType.Json);
 }
Beispiel #4
0
 public void insertCategory(Category category)
 {
     ProcessComponent.HttpPost <Category>("rest/Category/Add", category, MediaType.Json);
 }
Beispiel #5
0
 public void insertDealer(Dealer Dealer)
 {
     ProcessComponent.HttpPost <Dealer>("rest/Dealer/Add", Dealer, MediaType.Json);
 }
Beispiel #6
0
 public void editDealer(Dealer Dealer)
 {
     ProcessComponent.HttpPost <Dealer>("rest/Dealer/Edit", Dealer, MediaType.Json);
 }
Beispiel #7
0
 public void insertProduct(Product Product)
 {
     ProcessComponent.HttpPost <Product>("rest/Product/Add", Product, MediaType.Json);
 }
Beispiel #8
0
 public void editProduct(Product Product)
 {
     ProcessComponent.HttpPost <Product>("rest/Product/Edit", Product, MediaType.Json);
 }
Beispiel #9
0
 public void insertOrder(Order Order)
 {
     ProcessComponent.HttpPost <Order>("rest/Order/Add", Order, MediaType.Json);
 }
Beispiel #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);
 }