Example #1
0
 public RecordsController(
     AppRepo appRepo,
     RecordRepo recordRepo)
 {
     _appRepo    = appRepo;
     _recordRepo = recordRepo;
 }
Example #2
0
 public WrapController(
     RecordRepo recordRepo)
 {
     _client = new HttpClient(new HttpClientHandler()
     {
         AllowAutoRedirect = false,
         UseCookies        = false
     });
     _recordRepo = recordRepo;
 }
Example #3
0
 public WarpController(
     ILogger <WarpController> logger,
     RecordRepo recordRepo)
 {
     _client = new HttpClient(new HttpClientHandler()
     {
         AllowAutoRedirect = false,
         UseCookies        = false
     });
     _recordRepo = recordRepo;
     _logger     = logger;
 }
Example #4
0
 public RecordsController(RecordRepo recordRepo, IHttpContextAccessor contextAccessor, ILoggerFactory loggerFactory) : base(contextAccessor)
 {
     this.recordRepo = recordRepo;
     base.logger     = loggerFactory.CreateLogger <RecordsController>();
 }
Example #5
0
 public RecordController(RecordRepo recordRepo)
 {
     this.recordRepo = recordRepo;
 }