Ejemplo n.º 1
0
        public Keep GetOne(int id)
        {
            Keep foundKeep = _repo.GetOne(id);

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