public IActionResult EditProject([FromBody] NewProjectVm projVm) { var isExist = _destService.CheckIfProjectExist(projVm.Id); if (!ModelState.IsValid || !isExist) { return(Conflict(ModelState)); } _destService.UpdateProject(projVm); return(Ok()); }