public DetailsModel(MagicOfSewingDbContext dbContext, IMapper mapper, UserManager <User> userManager, IAdminPostsService postsService)
     : base(dbContext)
 {
     this.mapper       = mapper;
     this.userManager  = userManager;
     this.postsService = postsService;
 }
 public PostsController(IAdminPostsService postsService)
 {
     this.postsService = postsService;
 }