Esempio n. 1
0
        public TemplateService(
            IMapper autoMapperService,
            IValidationsProvider validationsProvider,
            IAzureStorageServicesFacade azureStorageServicesFacade,
            ITemplateRepository templateRepository)
        {
            this._autoMapperService = autoMapperService;

            this._validationsProvider = validationsProvider;

            this._azureStorageServicesFacade = azureStorageServicesFacade;

            this._templateRepository = templateRepository;
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PostService"/> class.
        /// </summary>
        /// <param name="autoMapperService">The automatic mapper service.</param>
        /// <param name="validationsProvider">The validations provider.</param>
        /// <param name="commentAggregationService">The comment aggregation service.</param>
        /// <param name="azureStorageServicesFacade">The azure storage services facade.</param>
        /// <param name="postRepository">The post repository.</param>
        public PostService(
            IMapper autoMapperService,
            IValidationsProvider validationsProvider,
            ICommentAggregationService commentAggregationService,
            IAzureStorageServicesFacade azureStorageServicesFacade,
            IPostRepository postRepository)
        {
            this._autoMapperService = autoMapperService;

            this._validationsProvider       = validationsProvider;
            this._commentAggregationService = commentAggregationService;

            this._azureStorageServicesFacade = azureStorageServicesFacade;

            this._postRepository = postRepository;
        }