public EmergencyContactController(IEmergencyContactAppService emergencyContactAppService) { _emergencyContactAppService = emergencyContactAppService; }
public EditModalModel([NotNull] IEmergencyContactAppService emergencyContactAppService) { _emergencyContactAppService = emergencyContactAppService ?? throw new ArgumentNullException(nameof(emergencyContactAppService)); }
public CreateModalModel(IEmergencyContactAppService emergencyContactAppService) { _emergencyContactAppService = emergencyContactAppService; }