Пример #1
0
        internal IEnumerable <Keep> GetKeepsByProfileId(string userId, string profileId)
        {
            IEnumerable <Keep> keeps = _repo.GetKeepsByProfileId(profileId);

            if (keeps == null)
            {
                throw new Exception("Invalid Id");
            }
            return(keeps);
        }
Пример #2
0
        public IEnumerable <Keep> GetKeepsByProfileId(string creatorId)
        {
            IEnumerable <Keep> userKeeps = _repo.GetKeepsByProfileId(creatorId);

            return(userKeeps);
        }