Ejemplo n.º 1
0
        public void Edit(int id, [FromBody] ServiceViewModel service)
        {
            var serv = new ServiceDTO {
                Id = service.Id, Description = service.Description, Img = service.Img, Name = service.Name, Price = service.Price
            };

            studioService.Edit(serv);
            studioService.Save();
        }