Beispiel #1
0
        public async Task <CoreTypes.Family?> EditFamily(CoreTypes.Family family)
        {
            var familyDoc = Dto.serializeFamily(family);
            var result    = await _cosmos.UpsertFamily(familyDoc);

            var resultFamily = Dto.deserializeFamily(result);

            return(resultFamily.IsOk ? resultFamily.ResultValue : null);
        }