* re-namespace * optimize usings * more usings * more of the same * more implicit/global usings * cleanup all usings * minor fixes
13 lines
361 B
C#
13 lines
361 B
C#
using ErsatzTV.ViewModels;
|
|
using FluentValidation;
|
|
|
|
namespace ErsatzTV.Validators;
|
|
|
|
public class PlexPathReplacementEditViewModelValidator : AbstractValidator<PlexPathReplacementEditViewModel>
|
|
{
|
|
public PlexPathReplacementEditViewModelValidator()
|
|
{
|
|
RuleFor(vm => vm.PlexPath).NotEmpty();
|
|
RuleFor(vm => vm.LocalPath).NotEmpty();
|
|
}
|
|
} |