//************* for Designation dropdown **************

        public List <SelectListItem> GetAllDesignationForDropDown()
        {
            List <Designation>    designations    = teacherGateway.GetDesignationList();
            List <SelectListItem> selectListItems = new List <SelectListItem>();

            foreach (Designation designation in designations)
            {
                selectListItems.Add(new SelectListItem()
                {
                    Text  = designation.DesignationName,
                    Value = designation.Id.ToString()
                });
            }
            return(selectListItems);
        }