21 lines
456 B
C#
21 lines
456 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 NewsBindingModel : INews
|
|
{
|
|
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;
|
|
}
|
|
}
|