see this snapshot
please find some solution
var auto = new AutoCallService(dbContext, Configuration, _emailService, _mapper, _hostingEnvironment, _stripeApisService, _logService);
//var autoCallService = app.ApplicationServices.GetRequiredService<IAutoCallService>();
//RecurringJob.AddOrUpdate( () => auto.TestJob(), "*/1 * * * *" );
RecurringJob.AddOrUpdate(() => auto.SendInvoiceToUser(), Cron.Hourly);
RecurringJob.AddOrUpdate("automatic-change-of-fighters-fighter-class-based-on-fighters-birthday", () => auto.UpdateFightClassForUser(), Cron.MinuteInterval(5),TimeZoneInfo.Utc);