PIbd-22-Ismailov_SUBD/BlogDataModels/BlogContracts/BindingModel/UserBindingModel.cs

19 lines
443 B
C#

using BlogDataModels.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlogContracts.BindingModel
{
public class UserBindingModel : IUser
{
public string Name { get; set; } = string.Empty;
public DateTime DateCreate { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
public int Id { get; set; }
}
}