protected override void GetModelsForOperationOptions <TObject, TModelForGet>(ref TObject modelParam, TModelForGet modelForGet) { AddOperationModel model = modelParam as AddOperationModel; ModelsForPersonalOperationModel operModel = modelForGet as ModelsForPersonalOperationModel; if (model != null && operModel != null) { operModel.CurrencyModel = _currencyManager.GetCurrencyWithCurrentName(model.Currency); operModel.CategoryModel = _categoryManager.GetCategoryWithCurrentName(model.Category, operModel.OperationType); operModel.SourceModel = _sourceManager.GetCategoryWithCurrentName(model.Source); } }