Exemplo n.º 1
0
        public IEnumerable <Keep> GetKeepsByVault(int id, string userId)
        {
            var exists = _repo.GetKeepsById(id, userId);

            if (exists == null)
            {
                throw new Exception("Invalid Id");
            }
            return(exists);
        }