huge commit for webfront facelift
This commit is contained in:
11
SharedLibraryCore/Interfaces/IGeoLocationResult.cs
Normal file
11
SharedLibraryCore/Interfaces/IGeoLocationResult.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace SharedLibraryCore.Interfaces;
|
||||
|
||||
public interface IGeoLocationResult
|
||||
{
|
||||
string Country { get; set; }
|
||||
string CountryCode { get; set; }
|
||||
string Region { get; set; }
|
||||
string ASN { get; set; }
|
||||
string Timezone { get; set; }
|
||||
string Organization { get; set; }
|
||||
}
|
8
SharedLibraryCore/Interfaces/IGeoLocationService.cs
Normal file
8
SharedLibraryCore/Interfaces/IGeoLocationService.cs
Normal file
@ -0,0 +1,8 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SharedLibraryCore.Interfaces;
|
||||
|
||||
public interface IGeoLocationService
|
||||
{
|
||||
Task<IGeoLocationResult> Locate(string address);
|
||||
}
|
Reference in New Issue
Block a user