Added ServiceController
This commit is contained in:
11
Birdmap.API/DTOs/ServiceInfo.cs
Normal file
11
Birdmap.API/DTOs/ServiceInfo.cs
Normal 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; }
|
||||
}
|
||||
}
|
9
Birdmap.API/DTOs/ServiceRequest.cs
Normal file
9
Birdmap.API/DTOs/ServiceRequest.cs
Normal 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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user