public AdminService(StorageAccessService storageAccessService, IContestResultRepository contestResultRepository, IAdminRepository adminRepository, IContestRepository contestRepository, INotificationService notificationService) { StorageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService)); ContestResultRepository = contestResultRepository ?? throw new ArgumentNullException(nameof(contestResultRepository)); AdminRepository = adminRepository ?? throw new ArgumentNullException(nameof(adminRepository)); ContestRepository = contestRepository ?? throw new ArgumentNullException(nameof(contestRepository)); NotificationService = notificationService ?? throw new ArgumentNullException(nameof(notificationService)); }
public ResultController(IContestResultRepository contestResultRepository) { ContestResultRepository = contestResultRepository ?? throw new ArgumentNullException(nameof(contestResultRepository)); }
public ContestResultService(IContestResultRepository contestRepository) { _contestResultRepository = contestRepository; }