hn-dotnet/Apps/Website/Models/ShowLinkViewModel.cs
Julien Leicher 66cc78d30e comment-a-link (#24)
Closes #23 refactor to use OwnsMany
2020-12-11 09:46:42 +01:00

18 lines
328 B
C#

using HN.Application;
namespace Website.Models
{
public class ShowLinkViewModel
{
public LinkDto Link { get; set; }
public CommentLinkCommand CommentForm { get; set; }
public ShowLinkViewModel(LinkDto link, CommentLinkCommand commentForm)
{
Link = link;
CommentForm = commentForm;
}
}
}