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); }
public ProductCommentsController(IProductCommentsService productCommentsService, IClaimsGetter claimsGetter) { _productCommentsService = productCommentsService; _claimsGetter = claimsGetter; }