public void Delete(string value) { var dataDelete = new ClassDataModel(); dataDelete.ClassId = int.Parse(value); ClassDataManager.Delete(dataDelete, SessionVariables.RequestProfile); }