常用方法
常用方法
常用方法
常用方法
/// <summary> /// 删除学校信息,会连同下属图书馆阅览室以及座位信息一同删除 /// </summary> /// <param name="model"></param> /// <returns></returns> public static bool DeleteSchool(School model) { IWCFService.ISeatManageService seatService = new WcfServiceForSeatManage.SeatManageDateService(); bool error = false; try { return(seatService.DeleteSchool(model)); } catch (Exception ex) { error = true; WriteLog.Write("删除学校失败:" + ex.Message); return(false); } }