public void Put(int id, LecturerBL lecturer)
 {
     lecturer.ID = id;
     _lecturerService.UpdateLecturer(lecturer);
 }
 public void UpdateLecturer(LecturerBL lecturer)
 {
     _lecturerRepository.UpdateLecturer(_mapper.Map <Lecturer>(lecturer));
     _lecturerRepository.Save();
 }
 public void Post(LecturerBL lecturerBL)
 {
     _lecturerService.InsertLecturer(lecturerBL);
 }
 public void InsertLecturer(LecturerBL lecturer)
 {
     _lecturerRepository.InsertLecturer(_mapper.Map <Lecturer>(lecturer));
     _lecturerRepository.Save();
 }