public static async Task <string> execute() { return(await Safely.execute(async() => await RestService .For <IEmptyRequest>(HttpClientProvider.new_instance) .execute(), "EmptyRequest")); }
public static async Task <string> execute(AddShiftRequest request) { return(await Safely.execute(async() => await RestService .For <IAddShift>(HttpClientProvider.new_instance) .execute(request.title), "AddShift")); }