public string Add(Adviser a) { YogaEntities ey = new YogaEntities(); ey.AddToAdviser(a); return ey.SaveChanges() == 1 ? "成功" : "失败"; }