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()); }
public Guid Update(UpdateTreatmentCommand command) => _mediator.Send(command).Result;