...
This commit is contained in:
25
Shared/DTOs/BlogDto.cs
Normal file
25
Shared/DTOs/BlogDto.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.DTOs
|
||||
{
|
||||
public class BlogDto
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string? Photo { get; set; }
|
||||
public string Date { get; set; }
|
||||
}
|
||||
public class BlogDtoFull
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Text { get; set; }
|
||||
public string? Photo { get; set; }
|
||||
public string Date { get; set; }
|
||||
public string Time { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user