예제 #1
0
 protected BaseBlogService(
     BlogDataDbContext context,
     IMapper mapper)
 {
     this.DbContext = context;
     this.Mapper    = mapper;
 }
예제 #2
0
 public PrivatePostService(BlogDataDbContext context,
                           UserManager <ApplicationUser> userManager,
                           SignInManager <ApplicationUser> signInManager)
 {
     _context       = context;
     _userManager   = userManager;
     _signInManager = signInManager;
 }
예제 #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;
 }
예제 #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;
 }
예제 #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;
 }
예제 #6
0
 public OwnerUserService(BlogDataDbContext context, IMapper mapper, UserManager <User> userManager) : base(context, mapper)
 {
     this.userManager = userManager;
 }
예제 #7
0
 public PublicPostService(BlogDataDbContext context)
 {
     _context = context;
 }
예제 #8
0
 public BookService(BlogDataDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
예제 #9
0
 public void TestInitializer()
 {
     this.dbContext = BlogDatabaseMock.GetDbContext();
     this.mapper    = AutoMapperMock.GetInstance();
 }
예제 #10
0
 public InstrumentService(BlogDataDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
예제 #11
0
 public ReviewService(BlogDataDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
예제 #12
0
 public ArticleService(BlogDataDbContext context, IMapper mapper) : base(context, mapper)
 {
 }
예제 #13
0
 public PremiumProductService(BlogDataDbContext context, IMapper mapper) : base(context, mapper)
 {
 }