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 UserViewModel : IUser { [DisplayName("Номер")] public int Id { get; set; } [DisplayName("Имя пользователя")] public string Name { get; set; } = string.Empty; [DisplayName("Дата регистрации")] public DateTime DateCreate { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc); } }