public CompanyService(AppDbContext context, UserManager <Account> userManager, SignInManager <Account> signInManager, AuthenticationStateProvider authenticationStateProvider, GlobalVariable globalVariable)
 {
     _context       = context;
     _userManager   = userManager;
     _signInManager = signInManager;
     _authenticationStateProvider = authenticationStateProvider;
     _globalVariable = globalVariable;
 }
 public WorkerService(AppDbContext context, GlobalVariable globalVariable, CompanyService companyService)
 {
     _companyService = companyService;
     _context        = context;
     _globalVariable = globalVariable;
 }