private void GetSfPeriod() { var sfPeriodModel = SfPeriod; if (sfPeriodModel == null || sfPeriodModel.DatStart == null || sfPeriodModel.LastDatOpl == null) { sfPeriodModel = repository.GetActualSfPeriod(SfRef.IdSf); } actualSfPeriod = sfPeriodModel; }
public SfPeriodViewModel(SfPayPeriodModel sfPeriodModel) { this.sfPeriodModel = sfPeriodModel; }