Creating endpoint that allows for student update
This commit is contained in:
19
BrightGlimmer.Service/Commands/UpdateStudentCommand.cs
Normal file
19
BrightGlimmer.Service/Commands/UpdateStudentCommand.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using BrightGlimmer.Domain;
|
||||
using MediatR;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace BrightGlimmer.Service.Commands
|
||||
{
|
||||
public class UpdateStudentCommand : IRequest<Student>
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string MiddleName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string Email { get; set; }
|
||||
public List<Phone> Phones { get; set; }
|
||||
public Address Address { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user