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 NewsViewModel : INews { [DisplayName("Название")] public string Title { get; set; } = string.Empty; [DisplayName("Автор")] public int UserId { get; set; } [DisplayName("Номер")] public int Id { get; set; } [DisplayName("Текст")] public string Text { get; set; } = string.Empty; public Dictionary NewsTag { get; set; } = new(); } }