public override void Create(BaseEntity entity)
        {
            var client       = (Client)entity;
            var sqlOperation = mapper.GetCreateStatement(client);

            dao.ExecuteProcedure(sqlOperation);
        }
Beispiel #2
0
        public override BaseEntity Create(BaseEntity entity)
        {
            var exchangeRate = (ClientType)entity;
            var sqlOperation = mapper.GetCreateStatement(exchangeRate);

            dao.ExecuteProcedure(sqlOperation);
            return(exchangeRate);
        }