Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "priteshsanipara"

I have Job helper class. I need to call it from static class. How to I call SendNotifications() from other class. How to created the object of JobHelper class.

public class JobHelper : ITransientDependency { private readonly ILogger Logger; private readonly IAppUserService _appUserService;

    public JobHelper(ILogger logger, IAppUserService appUserService)
    {
        Logger = logger;
        _appUserService = appUserService;
    }

public async Task SendNotifications(CreateNotificationsInput notificaton) { var users = await _appUserService.GetUsersForNotification(input); }

}

Showing 1 to 1 of 1 entries