Beispiel #1
0
        public IHttpActionResult DeleteLecture(int id)
        {
            Lecture lecture = service.DeleteLecture(id);

            if (lecture == null)
            {
                return(NotFound());
            }

            return(Ok(lecture));
        }
 public void DeleteLecture(int id)
 {
     _lectureService.DeleteLecture(id);
 }