refacto blogPost
This commit is contained in:
parent
1d716380dd
commit
b25e0e842e
11 changed files with 85 additions and 52 deletions
|
|
@ -1,19 +0,0 @@
|
|||
|
||||
|
||||
|
||||
using Yavsc.Abstract.Identity;
|
||||
|
||||
namespace Yavsc
|
||||
{
|
||||
public interface IBlogPostPayLoad
|
||||
{
|
||||
string Article { get; set; }
|
||||
string Photo { get; set; }
|
||||
|
||||
}
|
||||
public interface IBlogPost : IBlogPostPayLoad, ITrackedEntity, IIdentified<long>, ITitle
|
||||
{
|
||||
string AuthorId { get; set; }
|
||||
IApplicationUser Author { get; }
|
||||
}
|
||||
}
|
||||
15
src/Yavsc.Abstract/Blogspot/IBlogPost.cs
Normal file
15
src/Yavsc.Abstract/Blogspot/IBlogPost.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
|
||||
|
||||
using Yavsc.Abstract.Identity;
|
||||
using Yavsc.Abstract.Identity.Security;
|
||||
using Yavsc.Interfaces;
|
||||
|
||||
namespace Yavsc.Blogspot
|
||||
{
|
||||
public interface IBlogPost : IBlogPostPayLoad, ICircleAuthorized, ITaggable<long>, ITrackedEntity, IIdentified<long>, ITitle
|
||||
{
|
||||
string AuthorId { get; set; }
|
||||
IApplicationUser Author { get; }
|
||||
}
|
||||
}
|
||||
9
src/Yavsc.Abstract/Blogspot/IBlogPostPayLoad.cs
Normal file
9
src/Yavsc.Abstract/Blogspot/IBlogPostPayLoad.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace Yavsc.Blogspot
|
||||
{
|
||||
public interface IBlogPostPayLoad
|
||||
{
|
||||
string Article { get; set; }
|
||||
string Photo { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue