Ejemplo n.º 1
0
        public UnknownObject GetUnknownByEmail(string email)
        {
            UnknownObject unknown;

            try
            {
                unknown = new UnknownDataService().GetUnknownByEmail(email);
            }
            catch (System.Exception exception1)
            {
                System.Exception innerException = exception1;
                throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
            }
            return(unknown);
        }
Ejemplo n.º 2
0
        public UnknownObjectCollection GetAll()
        {
            UnknownObjectCollection unknowns;

            try
            {
                unknowns = new UnknownDataService().GetAll();
            }
            catch (System.Exception exception1)
            {
                System.Exception innerException = exception1;
                throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
            }
            return(unknowns);
        }