public void UpdateRecord(DbObject item)
        {
            var factory = (ApiFactory)Application.Current.Properties["apiFactory"];
            IApiServiceStrategy service = factory.GetInstance(RequestEntity);

            service.PutItem(item);
        }
Ejemplo n.º 2
0
        public void EmptyEquipmentServicesPutTest()
        {
            var result = _service.PutItem(_emptyEquipment).Result.StatusCode == HttpStatusCode.NotFound;

            Assert.IsTrue(result, "The response code is invalid");
        }