public async Task <IEnumerable <Contracts.Entities.Disease> > GetDiseases() { return(await _diseaseRepository.GetAsync()); }
public async Task <int> Delete(Guid id) { var disease = await _diseaseRepository.GetAsync(id); return(await _diseaseRepository.DeleteAsync(disease)); }