/// <summary> /// 判断分类是否可以添加 /// </summary> /// <param name="pid"></param> /// <param name="fname"></param> /// <param name="id"></param> /// <returns></returns> public bool IsUserable(int pid, string fname, int id) { return((bool)categories.IsUserable(pid, fname, id)); }