public ActionResult DeleteGroup(int ID) { try { return(Json(new { success = _provider.deleteGroup(ID) })); } catch (Exception ex) { return(Json(new { success = false, content = ex.Message.ToString() })); } }
public void TcDeleteGroup() { Assert.AreEqual(_provider.deleteGroup("TEST"), true); }