Example #1
0
        public void UpdateTest()
        {
            ComposerType     composerType  = new ComposerType();
            ComposerTypeList composerTypes = new ComposerTypeList();

            composerTypes.Load();
            composerType = composerTypes.FirstOrDefault(c => c.Description == "Test");

            composerType.Description = "Update";
            int results = composerType.Update();

            Assert.IsTrue(results == 1);
        }
 // PUT: api/ComposerType/5
 public void Put(Guid id, ComposerType composerType)
 {
     composerType.Update();
 }