public void NUnit_Contract_Domain_Edit() { Cat_OrgStructureServices service = new Cat_OrgStructureServices(); var model = new Cat_OrgStructure { Id = 5, OrgStructureName = "Update Phòng Ban ", Code = "Update Mã ", IsRoot = true, Description = "Update Mô Tả ", TypeID = 1, ParentID = 1, OrderNumber = 321 }; bool result = service.UpdateCatOrgStructure(model); NUnit.Framework.Assert.IsTrue(result); if (result == true) { Console.WriteLine("Process Success >>> Update >>> " + model.Id + " | " + model.OrgStructureName + " | " + model.Code + " | " + model.IsRoot + " | " + model.Description + " | " + model.TypeID + " | " + model.ParentID + " | " + model.OrderNumber ); } }