Exemplo n.º 1
0
        public IHttpActionResult Delete(int id)
        {
            if (!_campusService.DeleteCampus(id))
            {
                return(InternalServerError());
            }

            return(Ok("This campus was deleted"));
        }