Ejemplo n.º 1
0
        public List <DepotObject> Search(string searchCriteria)
        {
            try
            {
                var objList = _depotManager.Search(searchCriteria);
                if (objList == null || !objList.Any())
                {
                    return(new List <DepotObject>());
                }

                return(objList);
            }
            catch (Exception ex)
            {
                ErrorLogger.LoggError(ex.StackTrace, ex.Source, ex.Message);
                return(new List <DepotObject>());
            }
        }