private async void OpenEditMuscleDialogAsync(Muscle muscle)
        {
            var muscleClone = muscle.Clone();

            var dialog = _dialogs.For <MuscleDialogViewModel>(DialogsIdentifier);

            dialog.Data.DialogTitle       = "Modified muscle";
            dialog.Data.SubmitButtonTitle = "Save";
            dialog.Data.Muscle            = MuscleViewModel.FromModel(muscleClone);

            var dialogResult = await dialog.Show();

            if (dialogResult != DialogResult.Ok)
            {
                return;
            }

            muscleClone = dialog.Data.Muscle.ToModel();
            Muscles.Replace(muscle, muscleClone);
            _muscleRepository.Update(muscleClone);
        }
 public ExercisedMuscle Clone() => new ExercisedMuscle
 {
     Muscle             = Muscle.Clone(),
     RelativeEngagement = RelativeEngagement,
 };