public void delete(long faculty_id)
        {
            try
            {
                using (TransactionScope tx = new TransactionScope(TransactionScopeOption.Required))
                {
                    var FacultyCategory = _facultyRepository.getById(faculty_id);
                    if (FacultyCategory == null)
                    {
                        throw new ItemNotFoundException($"faculty Category With Id {FacultyCategory} doesnot Exist.");
                    }

                    _facultyRepository.delete(FacultyCategory);
                    tx.Complete();
                }
            }

            catch (Exception)
            {
                throw;
            }
        }