public static bool Update(CarGeneration CarGeneration) { return(WebApi <bool> .PutAsync(controllerName, CarGeneration, "Put").Result); }
public static int Insert(CarGeneration CarGeneration) { return(WebApi <int> .PostAsync(controllerName, CarGeneration, "SinglePost").Result); }