public void Edit(int id, [FromBody] ExampleViewModel example) { var serv = new ExampleDTO { Id = example.Id, Name = example.Name, Desc = example.Desc, Img = example.Img }; studioService.EditExample(serv); studioService.Save(); }