/// <summary>
 /// Updates a dealer.
 /// </summary>
 /// <param name="dealerId"></param>
 /// <param name="dealer"></param>
 /// <returns></returns>
 public async Task <Dealer> UpdateDealerAsync(Guid dealerId, Dealer dealer)
 {
     return(await PostAsync <Dealer>($"{Urls.Admin}/dealer/{dealerId}", dealer));
 }
 /// <summary>
 /// Updates a dealer.
 /// </summary>
 /// <param name="dealerId"></param>
 /// <param name="dealer"></param>
 /// <returns></returns>
 public Dealer UpdateDealer(Guid dealerId, Dealer dealer)
 {
     return(Post <Dealer>($"{Urls.Admin}/dealer/{dealerId}", dealer));
 }