Added folder/layer renaming

Implemented profile saving
This commit is contained in:
SpoinkyNL committed 2019-11-24 23:01:11 +01:00
1 parent d8b0b2d4b6
commit 75e932edb1
20 files changed
+253 -62

No files matched your search

@@ -1,5 +1,6 @@
using System.Threading.Tasks;
using Artemis.UI.ViewModels.Dialogs;
using FluentValidation;
using Stylet;
namespace Artemis.UI.Screens.Module.ProfileEditor.Dialogs
@@ -27,4 +28,12 @@ namespace Artemis.UI.Screens.Module.ProfileEditor.Dialogs
Session.Close();
}
}
public class ProfileCreateViewModelValidator : AbstractValidator<ProfileCreateViewModel>
{
public ProfileCreateViewModelValidator()
{
RuleFor(m => m.ProfileName).NotEmpty().WithMessage("Profile name may not be empty");
}
}
}