Ejemplo n.º 1
0
 protected BaseBlogService(
     BlogDataDbContext context,
     IMapper mapper)
 {
     this.DbContext = context;
     this.Mapper    = mapper;
 }
Ejemplo n.º 2
0
 public PrivatePostService(BlogDataDbContext context,
                           UserManager <ApplicationUser> userManager,
                           SignInManager <ApplicationUser> signInManager)
 {
     _context       = context;
     _userManager   = userManager;
     _signInManager = signInManager;
 }
Ejemplo n.º 3
0
 public CommentService(BlogDataDbContext context,
                       UserManager <ApplicationUser> userManager,
                       SignInManager <ApplicationUser> signInManager,
                       IPublicPostService public_post_service)
 {
     _context             = context;
     _userManager         = userManager;
     _signInManager       = signInManager;
     _public_post_service = public_post_service;
 }
Ejemplo n.º 4
0
 public CommentsController(BlogDataDbContext context,
                           ICommentService comment_service,
                           UserManager <ApplicationUser> userManager,
                           SignInManager <ApplicationUser> signInManager)
 {
     _context         = context;
     _comment_service = comment_service;
     _userManager     = userManager;
     _signInManager   = signInManager;
 }
Ejemplo n.º 5
0
 public PostsController(BlogDataDbContext context,
                        IPublicPostService public_post_service,
                        IPrivatePostService private_post_service,
                        UserManager <ApplicationUser> userManager,
                        SignInManager <ApplicationUser> signInManager)
 {
     _context              = context;
     _public_post_service  = public_post_service;
     _private_post_service = private_post_service;
     _userManager          = userManager;
     _signInManager        = signInManager;
 }
Ejemplo n.º 6
0
 public OwnerUserService(BlogDataDbContext context, IMapper mapper, UserManager <User> userManager) : base(context, mapper)
 {
     this.userManager = userManager;
 }
Ejemplo n.º 7
0
 public PublicPostService(BlogDataDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 8
0
 public BookService(BlogDataDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
Ejemplo n.º 9
0
 public void TestInitializer()
 {
     this.dbContext = BlogDatabaseMock.GetDbContext();
     this.mapper    = AutoMapperMock.GetInstance();
 }
Ejemplo n.º 10
0
 public InstrumentService(BlogDataDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
Ejemplo n.º 11
0
 public ReviewService(BlogDataDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
Ejemplo n.º 12
0
 public ArticleService(BlogDataDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
Ejemplo n.º 13
0
 public PremiumProductService(BlogDataDbContext context, IMapper mapper) : base(context, mapper)
 {
 }