public override ViewModel <RelativeofBeatyandhealthy> WithCategories(ICategoryHelper categoryHelper) { this.Categories = categoryHelper.GetRelativesCategories(this.NumberTake, CategoryId).GetAwaiter().GetResult(); return(this); }
public override ViewModel <Post> WithCategories(ICategoryHelper categoryHelper) { this.Categories = categoryHelper.GetRelativesCategories(NumberTake, CategoryId).GetAwaiter().GetResult(); return(this); }