PIbd-22-Ismailov_SUBD/BlogDataModels/BlogContracts/ViewModels/CommentViewModel.cs

21 lines
509 B
C#

using BlogDataModels.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlogContracts.ViewModels
{
public class CommentViewModel : IComment
{
[DisplayName("Номер")]
public int Id { get; set; }
[DisplayName("Текст комментария")]
public string Text { get; set; } = string.Empty;
public int NewId { get; set; }
}
}