Exemplo n.º 1
0
        public static AccountListRequest ToModel(this AccountJtableModel model)
        {
            var _model = JTableModelAdapter.ToModel <AccountJtableModel, AccountListRequest>(model);

            _model.Keyword = model.Keyword;
            _model.Name    = model.Name;
            _model.Type    = model.Type;
            _model.Actives = model.Actives;

            return(_model);
        }
Exemplo n.º 2
0
        public static BankAccountListRequest ToModel(this BankAccountJtableModel model)
        {
            var _model = JTableModelAdapter.ToModel <BankAccountJtableModel, BankAccountListRequest>(model);

            _model.Keyword     = model.Keyword;
            _model.BankAccount = model.BankAccount;
            _model.BankName    = model.BankName;
            _model.Actives     = model.Active;
            _model.Owner       = model.Owner;

            return(_model);
        }