Beispiel #1
0
        public ResultEntity <ClientEntity> Create(ClientEntity clientEntity)
        {
            var validationResult = new ResultEntity <ClientEntity>();

            using (var clientDA = new ClientDA())
            {
                validationResult.Value = clientDA.Create(clientEntity);
            }

            return(validationResult);
        }