public void save(FacultyDto facultyDto)
        {
            try
            {
                using (TransactionScope tx = new TransactionScope(TransactionScopeOption.Required))
                {
                    Faculty faculty = new Faculty();
                    var     designation_position = _facultyRepository.getAll();

                    _facultyMaker.copy(faculty, facultyDto);
                    _facultyRepository.insert(faculty);

                    tx.Complete();
                }
            }
            catch (Exception)
            {
                throw;
            }
        }
 public IActionResult add()
 {
     ViewBag.faculty = new SelectList(_facultyRepository.getAll(), "faculty_id", "name");
     return(View());
 }