Seperated eventhub service from api service.

wip nbs flow.
Changed uploading a bit.
This commit is contained in:
2020-03-25 21:32:28 +01:00
parent e638370ad4
commit 691be2185e
11 changed files with 151 additions and 81 deletions

View File

@@ -0,0 +1,7 @@
namespace FarmmapsApi.Models
{
public class HttpClientSettings
{
public string BearerToken { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using Google.Apis.Upload;
namespace FarmmapsApi.Models
{
public class UploadResults
{
public IUploadProgress Progress { get; }
public Uri Location { get; }
public UploadResults(IUploadProgress progress, Uri location)
{
Progress = progress;
Location = location;
}
}
}