public DictionaryController(SWAT_UpdateChecklistsContext ctx, IHttpContextAccessor httpContextAccessor)
 {
     _ctx = ctx;
     this.httpContextAccessor = httpContextAccessor;
     user = this.httpContextAccessor.HttpContext.User.Identity.Name;
     // user = User.Identity.Name;
     // user = WindowsIdentity.GetCurrent().Name;
     user = user.Substring(user.IndexOf(@"\") + 1);
 }
 public ChecklistRepository(SWAT_UpdateChecklistsContext ctx)
 {
     _ctx = ctx;
 }
 public AuthorizedUser(SWAT_UpdateChecklistsContext ctx, IHttpContextAccessor httpContextAccessor)
 {
     this.ctx = ctx;
     this.httpContextAccessor = httpContextAccessor;
 }
 public ReportController(SWAT_UpdateChecklistsContext ctx, IMapper mapper)
 {
     _ctx    = ctx;
     _mapper = mapper;
 }
 public UpdateRepository(SWAT_UpdateChecklistsContext ctx, IMapper mapper)
 {
     _ctx        = ctx;
     this.mapper = mapper;
 }