public async Task <JsonResult> Put(string id, [FromBody] CarModelViewModel model) { var result = await _carModelService.Update(model); return(new JsonResult(result)); }