public string Delete(string userGroupId) { using (RRDLEntities db = new RRDLEntities()) { UserGroupService ugs = new UserGroupService(db); ugs.Drop(Int32.Parse(userGroupId)); db.SaveChanges(); return null; } }