public void UpdateTest() { //Arrange DBEstimatedPrice estimatedPrice = new DBEstimatedPrice(); var update = new EstimatedPrice(); update.Id = 666; update.estimatedTime = 60; update.materials = null; //Act var sucess = estimatedPrice.Update(update); //Assert Assert.IsTrue(sucess); }
public bool Update(EstimatedPrice obj) { return(db.Update(obj)); }