From eefe95b5cd3d6f3453eff0caffad0d53f4d4f701 Mon Sep 17 00:00:00 2001 From: Shamlia Shukkur Date: Thu, 23 Aug 2018 15:53:42 +0400 Subject: [PATCH] Added missing methods in master --- .../Services/FaceAPIService.cs | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/WoodgroveBankEnhancedATMSecurity/WoodgrovePortable/Services/FaceAPIService.cs b/WoodgroveBankEnhancedATMSecurity/WoodgrovePortable/Services/FaceAPIService.cs index 29b2ad9..a2500a9 100644 --- a/WoodgroveBankEnhancedATMSecurity/WoodgrovePortable/Services/FaceAPIService.cs +++ b/WoodgroveBankEnhancedATMSecurity/WoodgrovePortable/Services/FaceAPIService.cs @@ -192,7 +192,35 @@ namespace WoodgrovePortable.Services return responseMessage; } } + + //DELETE Person using person ID + public async Task DeletePersonAsync(string GroupID, string PersonID) + { + using (var client = FaceClient()) + { + //TODO: Delete person using PersonID + return null; + } + } + + //DELETE a person face + public async Task DeleteFaceAsync(string GroupID, string PersonID, string persistedFaceID) + { + try + { + using (var client = FaceClient()) + { + //TODO: Delete face using persistedFaceID + + return null; + } + } + catch (Exception ex) + { + return ex; + } + } } }