public DatabaseService( StoreSystemDbContext context, IDateTimeNowProvider dateTimeProvider, UserManager <StoreUser> userManager, IDatabaseJSONConnectivity <string> JSONConnectivityService) { this.context = context ?? throw new ArgumentNullException(nameof(context)); this.dateTimeProvider = dateTimeProvider; this.userManager = userManager; jSONConnectivityService = JSONConnectivityService; }
public CountryService(StoreSystemDbContext context, IDatabaseJSONConnectivity <string> JSONConnectivityService) { this.context = context ?? throw new ArgumentNullException(nameof(context)); jSONConnectivityService = JSONConnectivityService; }