public RecordingManagementService(IRecordingRepository recordingRepository, IGroupManagementService groupManagementService, ISpeakerManagementService speakerManagementService, IStatusManagementService statusManagementService) { Check.Require(recordingRepository != null, "recordingRepository may not be null"); Check.Require(groupManagementService != null, "groupManagementService may not be null"); Check.Require(speakerManagementService != null, "speakerManagementService may not be null"); Check.Require(statusManagementService != null, "statusManagementService may not be null"); this.recordingRepository = recordingRepository; this.groupManagementService = groupManagementService; this.speakerManagementService = speakerManagementService; this.statusManagementService = statusManagementService; }
public StatusesController(IStatusManagementService statusManagementService) { Check.Require(statusManagementService != null, "statusRepository may not be null"); this.statusManagementService = statusManagementService; }