internal IEnumerable <Keep> GetKeepsByProfileId(string userId, string profileId) { IEnumerable <Keep> keeps = _repo.GetKeepsByProfileId(profileId); if (keeps == null) { throw new Exception("Invalid Id"); } return(keeps); }
public IEnumerable <Keep> GetKeepsByProfileId(string creatorId) { IEnumerable <Keep> userKeeps = _repo.GetKeepsByProfileId(creatorId); return(userKeeps); }