public MedicalCardController(IMedicalCardService medicalCardService) { if (medicalCardService == null) { throw new ArgumentNullException(nameof(medicalCardService)); } this.MedicalCardService = medicalCardService; }
public MedicalCardController(IMedicalCardService medicalCard) { _medicalCard = medicalCard; }