public Models.Transform Map(Dto.Transform dto) { return(new Models.Transform { X = dto.X, Y = dto.Y, Z = dto.Z, Rx = dto.Rx, Ry = dto.Ry, Rz = dto.Rz, }); }
public void Transform([FromRoute] Guid id, [FromBody] Dto.Transform transform) { // _validator.Validate(transform) _service.SetTransform(id, _mapper.Map(transform)); }