public IActionResult Update(UpdateTreatmentCommand command)
        {
            var value = _treatmentService.Update(command);

            //_relationshipService.Delete(x => x.FromType == ObjectType.Risk && x.ToType == ObjectType.Treatment && x.ToId == command.Id);
            //_relationshipService.Create(new CreateRelationshipCommand() { FromType = risk});
            return(Ok());
        }
Beispiel #2
0
 public Guid Update(UpdateTreatmentCommand command) => _mediator.Send(command).Result;