mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-27 07:58:31 -06:00
data types are better
This commit is contained in:
@@ -2,6 +2,8 @@ using RestSharp;
|
||||
|
||||
public interface IWebRequestor
|
||||
{
|
||||
Task<RestResponse<T[]>> GetManyAsync<T>(RestRequest request);
|
||||
Task<RestResponse<T>> GetAsync<T>(RestRequest request);
|
||||
Task<(T[]?, RestResponse)> GetManyAsync<T>(RestRequest request);
|
||||
Task<(T?, RestResponse)> GetAsync<T>(RestRequest request);
|
||||
Task<RestResponse> PostAsync(RestRequest request);
|
||||
Task<(T?, RestResponse)> PostAsync<T>(RestRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user