MireaBackend/Application/Cqrs/Group/Commands/CreateGroup/CreateGroupCommand.cs

9 lines
233 B
C#

using MediatR;
namespace Mirea.Api.DataAccess.Application.Cqrs.Group.Commands.CreateGroup;
public class CreateGroupCommand : IRequest<int>
{
public required string Name { get; set; }
public int? FacultyId { get; set; }
}