Exemplo n.º 1
0
 public TagsController(
     BlogSystemEFDbContext context,
     ITagService tagService,
     IModelFactory <TagSetViewModel, TagSetDTO> tagSetModelFactory,
     IModelFactory <TagPageViewModel, TagDetailsDTO> tagModelFactory,
     IModelFactory <TagEditViewModel, TagDetailsDTO> tagEditModelFactory,
     IModelFactory <TagDeleteViewModel, TagDetailsDTO> tagDeleteModelFactory,
     IUserManagerWrapper <BaseIdentityUser> userManager,
     ILocalRedirector localRedirector,
     ILogger <TagsController> logger)
 {
     _context                   = context;
     this.tagService            = tagService;
     this.tagSetModelFactory    = tagSetModelFactory;
     this.tagModelFactory       = tagModelFactory;
     this.tagEditModelFactory   = tagEditModelFactory;
     this.tagDeleteModelFactory = tagDeleteModelFactory;
     this.userManager           = userManager;
     this.localRedirector       = localRedirector;
     this.logger                = logger;
 }
Exemplo n.º 2
0
 public BlogPostRepository(BlogSystemEFDbContext dbContext)
 {
     DbContext = dbContext;
 }
Exemplo n.º 3
0
 public AuthorRepository(BlogSystemEFDbContext dbContext)
 {
     DbContext = dbContext;
 }
Exemplo n.º 4
0
 public TagRepository(BlogSystemEFDbContext dbContext)
 {
     DbContext = dbContext;
 }
Exemplo n.º 5
0
 public SearchRepository(BlogSystemEFDbContext DbContext)
 {
     dbContext = DbContext;
 }
 public TagAddReturnRepository(BlogSystemEFDbContext dbContext)
 {
     DbContext = dbContext;
 }