Created
November 30, 2020 08:13
-
-
Save rahulsahay19/bcffb0b8dfc5a6304b4bd279fc91c116 to your computer and use it in GitHub Desktop.
CreateMovieCommand
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using MediatR; | |
using Movies.Application.Responses; | |
namespace Movies.Application.Commands | |
{ | |
public class CreateMovieCommand : IRequest<MovieResponse> | |
{ | |
public string MovieName { get; set; } | |
public string DirectorName { get; set; } | |
public string ReleaseYear { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment