Пример #1
0
 public AcountController(IAcountServices acountServices, RTSTicketDbContext dbContext, IHttpContextAccessor contextAccessor, IEmailSender emailSender)
 {
     this.acountServices = acountServices;
     this.dbContext      = dbContext;
     this.httpContext    = contextAccessor.HttpContext;
     this.emailSender    = emailSender;
 }
Пример #2
0
 public AcountService(RTSTicketDbContext db)
 {
     this.db = db;
 }
Пример #3
0
 public AdminService(RTSTicketDbContext dbContext)
 {
     this.dbContext = dbContext;
 }