Пример #1
0
        /// <summary>
        /// Metodo para Obtener un  Cliente
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public static Cliente Get(int id)
        {
            Cliente cliente = null;

            try
            {
                cliente = ClienteDal.Get(id);
            }
            catch (SqlException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(cliente);
        }