refacto blogPost
This commit is contained in:
parent
1d716380dd
commit
b25e0e842e
11 changed files with 85 additions and 52 deletions
|
|
@ -3,15 +3,14 @@ using System.ComponentModel.DataAnnotations.Schema;
|
|||
using Newtonsoft.Json;
|
||||
using Yavsc.Abstract.Identity;
|
||||
using Yavsc.Abstract.Identity.Security;
|
||||
using Yavsc.Interfaces;
|
||||
using Yavsc.Models.Access;
|
||||
using Yavsc.Models.Relationship;
|
||||
using Yavsc.Blogspot;
|
||||
|
||||
namespace Yavsc.Models.Blog
|
||||
{
|
||||
|
||||
public class BlogPost :
|
||||
IBlogPost, ICircleAuthorized, ITaggable<long>
|
||||
|
||||
public class BlogPost : IBlogPost
|
||||
{
|
||||
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
[Display(Name = "Identifiant du post")]
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ using Yavsc.Server.Helpers;
|
|||
using Yavsc.Services;
|
||||
using Yavsc.ViewModels.Auth;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Yavsc.Blogspot;
|
||||
|
||||
public class BlogSpotService
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue