Пример #1
0
 public ProductCommentsController(
     IProductCommentsService commentsService,
     UserManager <PhotoPavilionUser> userManager)
 {
     this.productCommentsService = commentsService;
     this.userManager            = userManager;
 }
        public ProductCommentsServiceTests()
        {
            this.InitializeMapper();
            this.InitializeDatabaseAndRepositories();
            this.InitializeFields();

            this.productCommentsService = new ProductCommentsService(this.productCommentsRepository);
        }
Пример #3
0
 public ProductCommentsController(IProductCommentsService productCommentsService, IClaimsGetter claimsGetter)
 {
     _productCommentsService = productCommentsService;
     _claimsGetter           = claimsGetter;
 }