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