2023-05-06 23:22:41 +04:00
|
|
|
|
using BlogDataModels.Model;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace BlogContracts.BindingModel
|
|
|
|
|
{
|
2023-05-07 00:06:16 +04:00
|
|
|
|
public class NewsBindingModel : INews
|
2023-05-06 23:22:41 +04:00
|
|
|
|
{
|
|
|
|
|
public string Title { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public string Author { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Text { get; set; } = string.Empty;
|
|
|
|
|
}
|
|
|
|
|
}
|