/// <summary>
 ///     This is the project like repository constructor
 /// </summary>
 /// <param name="dbContext"></param>
 public UserProjectLikeRepository(DbContext dbContext, ITaskPublisher taskPublisher) :
     base(dbContext)
 {
     this.taskPublisher = taskPublisher;
 }
Beispiel #2
0
 /// <summary>
 ///  Constructor to instantiate the email sender
 /// </summary>
 public EmailSender(ITaskPublisher notificationSender)
 {
     this.notificationSender = notificationSender;
 }
 public ProjectRepository(DbContext dbContext, IElasticSearchContext elasticSearchContext, ITaskPublisher taskPublisher, Queries queries) : base(dbContext)
 {
     this.taskPublisher        = taskPublisher;
     this.elasticSearchContext = elasticSearchContext.CreateRestClientForElasticRequests();
     this.queries = queries;
 }
Beispiel #4
0
 /// <summary>
 ///  Constructor to instantiate the email sender
 /// </summary>
 public EmailSender(ITaskPublisher taskPublisher)
 {
     this.taskPublisher = taskPublisher;
 }