示例#1
0
 public override ViewModel <Post> WithDoctors(IDoctorHelper doctorHelper)
 {
     this.Doctors = doctorHelper.GetRelativesDoctors(Model.Category.Doctors,
                                                     NumberTake, CategoryId).GetAwaiter().GetResult();
     return(this);
 }
 public override ViewModel <RelativeofBeatyandhealthy> WithDoctors(IDoctorHelper doctorHelper)
 {
     this.Doctors = doctorHelper.GetRelativesDoctors(this.Model.BeatyandHealthy.Doctors,
                                                     this.NumberTake, CategoryId).GetAwaiter().GetResult();
     return(this);
 }
示例#3
0
 public override ViewModel <BeatyandHealthy> WithDoctors(IDoctorHelper doctorHelper)
 {
     this.Doctors = doctorHelper.GetRelativesDoctors(NumberTake).GetAwaiter().GetResult();
     return(this);
 }