Fleshed out entity classes and created command to create student
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
using MediatR;
|
||||
using BrightGlimmer.Domain;
|
||||
using MediatR;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace BrightGlimmer.Service.Commands
|
||||
{
|
||||
public class CreateStudentCommand : IRequest<bool>
|
||||
public class CreateStudentCommand : IRequest<Student>
|
||||
{
|
||||
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