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); }
public override ViewModel <BeatyandHealthy> WithDoctors(IDoctorHelper doctorHelper) { this.Doctors = doctorHelper.GetRelativesDoctors(NumberTake).GetAwaiter().GetResult(); return(this); }