diff --git a/application/CohortManager/src/Functions/Shared/DataServices.Client/IDataServiceClient.cs b/application/CohortManager/src/Functions/Shared/DataServices.Client/IDataServiceClient.cs index 76b5878a9..5405ef6ba 100644 --- a/application/CohortManager/src/Functions/Shared/DataServices.Client/IDataServiceClient.cs +++ b/application/CohortManager/src/Functions/Shared/DataServices.Client/IDataServiceClient.cs @@ -20,13 +20,13 @@ public interface IDataServiceClient /// /// linq query defining the filter on the table /// Returns a task with the result type of TEntity - Task GetSingleByFilter(Expression> predicate); + Task GetSingleByFilter(Expression> predicate); /// /// Get a list of items where they meet the given predicate /// /// linq query defining the filter on the table /// Returns a task with the result type of IEnumerable - Task> GetByFilter(Expression> predicate); + Task> GetByFilter(Expression> predicate); /// /// Adds a given records to the database /// @@ -40,4 +40,6 @@ public interface IDataServiceClient /// a boolean representing if the record was inserted successfully Task AddRange(IEnumerable entities); + Task Delete(string id); + }