Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public IActionResult GetDiseasesByCategory(int categoryId) { log.Info($"DiseaseController::GetDiseasesByCategory. Retrieving all entries of diseases of Category {categoryId}."); var diseases = _service.GetDiseasedByCategory(categoryId); return(Ok(Mapper.Map <IEnumerable <DiseaseView> >(diseases))); }