feat(api): Контроллер по управлению ScheduleEsppId. Получение задания для расписания.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using FluentValidation;
|
||||
using PARR.API.Contracts.V1.Requests;
|
||||
|
||||
namespace PARR.API.Validators
|
||||
{
|
||||
public class TemplateScheduleEsppIdRequestValidator : AbstractValidator<TemplateScheduleEsppIdRequest>
|
||||
{
|
||||
public TemplateScheduleEsppIdRequestValidator()
|
||||
{
|
||||
RuleFor(t => t.ScheduleEsppId).NotNull().NotEmpty();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user