Beispiel #1
0
        public IList <GarageSaleTO> GetByUserID(string userId)
        {
            IList <GarageSaleTO> result = new List <GarageSaleTO>();

            try
            {
                IGarageRepository repo = new GarageRepository(this.UserId);
                result = repo.GetByUserID(userId);
            }
            catch (Exception ex)
            {
                throw new GarageSaleException("GarageSaleGetByUserIDError", ex);
            }
            return(result);
        }