常用方法
常用方法
常用方法
常用方法
public List <ActivityForeignGroup> GetActivityForiegnGroup() { try { // get the list with activities by calling a function from the DAL layer List <ActivityForeignGroup> s = dao.Db_Get_All_ActivityForeignGroup(); return(s); } catch (Exception) { throw new Exception("Something went wrong!"); // or throw new exception } }