/// <summary> /// 更新教材 /// </summary> /// <param name="book"></param> /// <returns></returns> public int UpdateTeacherBook(ResTeacherBook book) { return(_dataAccess.UpdateEntity(book)); }
/// <summary> /// 添加教材 /// </summary> /// <param name="book"></param> /// <returns></returns> public int AddTeacherBook(ResTeacherBook book) { return(_dataAccess.AddEntity(book)); }