public VehicleModel Post(VehicleModel vehicleModel) { if (vehicleModel == null || !ModelState.IsValid) { throw new HttpException((int)HttpStatusCode.BadRequest, "Invalid Request"); } return(vehicleModelService.AddUpdateVehicleModel(vehicleModel.CreateFromm()).CreateFromm()); }