Skip to content

Commit d404322

Browse files
committed
Created AdminUpdateCommand.cs
1 parent de4a907 commit d404322

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System.ComponentModel.DataAnnotations;
2+
3+
namespace ClubService.Application.Commands;
4+
5+
public class AdminUpdateCommand(string firstName, string lastName)
6+
{
7+
[Required]
8+
public string FirstName { get; } = firstName;
9+
10+
[Required]
11+
public string LastName { get; } = lastName;
12+
}

0 commit comments

Comments
 (0)