/// <summary> /// Get All Allergies with detail like ingredient count /// </summary> /// <summary> /// Get Allergy By Id /// </summary> /// <param name="id"></param> /// <returns></returns> public Allergy GetAllergyById(int id) { return(allergyRepository.Find(id)); }