public SfViewModel(IDbService _rep, SfModel _sfRef, bool _islazy) { repository = _rep; sfRef = _sfRef; if (!_islazy) { CollectInfo(); } SfStatus = repository.GetSfStatus(_sfRef.IdSf); }
public SfViewModel(IDbService _rep, SfModel _sfRef) : this(_rep, _sfRef, false) { }