public List <SelectListItem> GetParentType(int?pId) { try { return(CDal.GetParentType(pId)); } catch (Exception ex) { throw new Exception(ex.Message); } }