Added ServiceController

This commit is contained in:
Richárd Kunkli
2020-11-01 12:25:45 +01:00
parent 1172d89484
commit 87d65ba25d
8 changed files with 218 additions and 2 deletions

View File

@ -0,0 +1,11 @@
using System.Net;
namespace Birdmap.API.DTOs
{
public class ServiceInfo
{
public ServiceRequest Service { get; set; }
public HttpStatusCode StatusCode { get; set; }
public string Response { get; set; }
}
}

View File

@ -0,0 +1,9 @@
namespace Birdmap.API.DTOs
{
public class ServiceRequest
{
public int Id { get; set; }
public string Name { get; set; }
public string Uri { get; set; }
}
}