Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public bool Update(EstimatedPrice obj)
 {
     return(db.Update(obj));
 }