Пример #1
0
 public override ViewModel <Post> WithDisease(IDiseaseHelper diseaseHelper)
 {
     this.Diseases = diseaseHelper.GetRelativesDiseases(Model.Category.Diseases,
                                                        NumberTake, CategoryId).GetAwaiter().GetResult();
     return(this);
 }
 public override ViewModel <RelativeofBeatyandhealthy> WithDisease(IDiseaseHelper diseaseHelper)
 {
     this.Diseases = diseaseHelper.GetRelativesDiseases(this.Model.BeatyandHealthy.Diseases,
                                                        this.NumberTake, CategoryId).GetAwaiter().GetResult();
     return(this);
 }
Пример #3
0
 public override ViewModel <BeatyandHealthy> WithDisease(IDiseaseHelper diseaseHelper)
 {
     this.Diseases = diseaseHelper.GetRelativesDiseases(NumberTake).GetAwaiter().GetResult();
     return(this);
 }