예제 #1
0
 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));
        }