Ejemplo n.º 1
0
        internal Burger GetById(int id)
        {
            var exists = _repo.getById(id);

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