Exemplo n.º 1
0
 public TicketService(DatabaseContext databaseContext, ToastService toastService, UserManager <User> userManager,
                      MailingService mailingService)
 {
     _databaseContext = databaseContext;
     _toastService    = toastService;
     _userManager     = userManager;
     _mailingService  = mailingService;
 }
Exemplo n.º 2
0
 public WebhookService(DatabaseContext databaseContext, GithubService githubService, ToastService toastService,
                       TicketService ticketService, CommentService commentService)
 {
     _databaseContext = databaseContext;
     _githubService   = githubService;
     _toastService    = toastService;
     _ticketService   = ticketService;
     _commentService  = commentService;
 }
Exemplo n.º 3
0
 public CommentService(DatabaseContext databaseContext, ToastService toastService, MailingService mailingService)
 {
     _databaseContext = databaseContext;
     _toastService    = toastService;
     _mailingService  = mailingService;
     ServiceBot       = databaseContext.Users
                        .Where(u => u.UserName == "ServiceBot")
                        .Select(u => u)
                        .Single();
 }
Exemplo n.º 4
0
 public RepositoryService(DatabaseContext databaseContext, ProjectService projectService, ToastService toastService)
 {
     _databaseContext = databaseContext;
     _projectService  = projectService;
     _toastService    = toastService;
 }
Exemplo n.º 5
0
 public ProjectService(DatabaseContext databaseContext, ToastService toastService, WebhookService webhookService)
 {
     _databaseContext = databaseContext;
     _toastService    = toastService;
     _webhookService  = webhookService;
 }