public ServiceBuilder(IMedicinHelper medicinHelper, IPostHelper postHelper, IRelativeCategoryHelper relativeCategoryHelper , IDiseaseHelper diseaseHelper, IDoctorHelper doctorHelper, ICategoryHelper categoryHelper) { _doctorHelper = doctorHelper; _diseaseHelper = diseaseHelper; _postHelper = postHelper; _relativeCategoryHelper = relativeCategoryHelper; _medicinHelper = medicinHelper; _categoryHelper = categoryHelper; }
public override ViewModel <RelativeofBeatyandhealthy> WithPosts(IPostHelper postHelper) { this.Posts = postHelper.GetRelativesPosts(this.Model.BeatyandHealthy.Posts, this.NumberTake, CategoryId).GetAwaiter().GetResult(); return(this); }
public override ViewModel <Post> WithPosts(IPostHelper postHelper) { this.Posts = postHelper.GetRelativesPosts(Model.Category.Posts, NumberTake, CategoryId).GetAwaiter().GetResult(); return(this); }
public RSVPController(IPostHelper postHelper, IGetHelper getHelper) { _postHelper = postHelper; _getHelper = getHelper; }
public override ViewModel <BeatyandHealthy> WithPosts(IPostHelper postHelper) { this.Posts = postHelper.GetRelativesPosts(NumberTake).GetAwaiter().GetResult(); return(this); }
public abstract ViewModel <T> WithPosts(IPostHelper postHelper);