public void AdminUpdateFlats() { CtrAdmin ctrAdminObj = new CtrAdmin(); DataSet ds = ctrAdminObj.GetTableData("Flats"); ds.Tables[0].Rows[0]["Description"] = "This is changed descrition..."; bool actual = ctrAdminObj.UpdateFlats(ds); bool expected = true; Assert.AreEqual(expected, actual); }
public bool AdminUpdateFlats(DataSet ds) { ctrAdminObj = new CtrAdmin(); Console.WriteLine(); Console.WriteLine("AdminUpdateFlats() " + GetExecutionThreadTime()); return ctrAdminObj.UpdateFlats(ds); }