Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
public IActionResult Update([FromForm] PlatformTypeViewModel platformView) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var platform = _mapper.Map <Platform>(platformView); _platformService.AddPlatformTranslate(platformView.NameRu, "ru", _platformService.Get(platformView.OldName).Id); _platformService.Edit(platform, platformView.OldName); return(Ok(platform)); }