示例#1
0
 public TicketService(DatabaseContext databaseContext, ToastService toastService, UserManager <User> userManager,
                      MailingService mailingService)
 {
     _databaseContext = databaseContext;
     _toastService    = toastService;
     _userManager     = userManager;
     _mailingService  = mailingService;
 }
示例#2
0
 public WebhookService(DatabaseContext databaseContext, GithubService githubService, ToastService toastService,
                       TicketService ticketService, CommentService commentService)
 {
     _databaseContext = databaseContext;
     _githubService   = githubService;
     _toastService    = toastService;
     _ticketService   = ticketService;
     _commentService  = commentService;
 }
示例#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();
 }
示例#4
0
 public RepositoryService(DatabaseContext databaseContext, ProjectService projectService, ToastService toastService)
 {
     _databaseContext = databaseContext;
     _projectService  = projectService;
     _toastService    = toastService;
 }
示例#5
0
 public ProjectService(DatabaseContext databaseContext, ToastService toastService, WebhookService webhookService)
 {
     _databaseContext = databaseContext;
     _toastService    = toastService;
     _webhookService  = webhookService;
 }