Beispiel #1
0
        public async Task ShouldSave()
        {
            var data = new ImageMetaData()
            {
                Date        = DateTime.Now,
                Description = "SomeData",
                InspectorId = 123,
                Length      = 111,
                ImageStream = new byte[] { 1, 2, 3 }
            };

            var target = new InspectionRepository();
            await target.AddOrUpdateInspection("123", data);
        }