public bool SaveBuyCar(CarBuyInfo car)
 {
     using (FxCarContext context = new FxCarContext())
     {
         context.CarBuyInfos.Add(car);
         context.SaveChanges();
     }
     return car.CarBuyInfoId > 0;
 }
 private CarBuyInfo MapperCar(BuyViewCar car)
 {
     var info = new CarBuyInfo();
     info.CarMileage = car.CarMileage;
     info.CarYear = car.CarYear;          
     info.CatagroyId = car.CatagroyId;
     info.AreaId = car.AreaId;;
     info.Controller = this.ControllerName;
     info.Action = this.ActionName;
     info.CityId = car.CityId;
     info.Mark = car.Mark;
     info.Price = (int)car.Price;
     info.PublishTitle = car.Title;
     info.PublishUserEmail = car.Email;
     info.UserAccount = User.Identity.Name;            
     return info;
 }