public HadithsViewModel( HadithIndexHeaderViewModel hadithIndexHeaderViewModel, IEnumerable <HadithViewModel> hadiths) { HadithIndexHeaderViewModel = hadithIndexHeaderViewModel; Hadiths = hadiths.ToList().AsReadOnly(); }
public BrowseHadithIndexViewModel( HadithIndexHeaderViewModel hadithIndexHeaderViewModel, string nextReferencePartName, IEnumerable <string> nextReferencePartValueSelection) { HadithIndexHeaderViewModel = hadithIndexHeaderViewModel; NextReferencePartName = nextReferencePartName; NextReferencePartValueSelection = nextReferencePartValueSelection; }