feat: se centralizan las variables de entorno y utilidades, ademas de agregar entidades para poder hacer más legible el codigo
This commit is contained in:
parent
bffcdabc0a
commit
222d5fdc08
14 changed files with 203 additions and 59 deletions
13
SHARED/Utils/Variables_Entorno/BD_Conexion.cs
Normal file
13
SHARED/Utils/Variables_Entorno/BD_Conexion.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.Utils.Variables_Entorno
|
||||
{
|
||||
public class BD_Conexion
|
||||
{
|
||||
public String stringConnection { get; set; }
|
||||
}
|
||||
}
|
16
SHARED/Utils/Variables_Entorno/Credenciales_DGA.cs
Normal file
16
SHARED/Utils/Variables_Entorno/Credenciales_DGA.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.Utils.Variables_Entorno
|
||||
{
|
||||
public class Credenciales_DGA
|
||||
{
|
||||
public String RutEmpresa { get; set; }
|
||||
public String RutUsuario { get; set; }
|
||||
public String Password { get; set; }
|
||||
|
||||
}
|
||||
}
|
18
SHARED/Utils/Variables_Entorno/NexusApiUrl.cs
Normal file
18
SHARED/Utils/Variables_Entorno/NexusApiUrl.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.Utils.Variables_Entorno
|
||||
{
|
||||
public class NexusApiUrl
|
||||
{
|
||||
public String ApiUrl { get; set; }
|
||||
public String ApiKey { get; set; }
|
||||
public String Version { get; set; }
|
||||
public String DataSource { get; set; }
|
||||
public String Resolution { get; set; }
|
||||
|
||||
}
|
||||
}
|
15
SHARED/Utils/Variables_Entorno/SubterraneaApiUrl.cs
Normal file
15
SHARED/Utils/Variables_Entorno/SubterraneaApiUrl.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Shared.Utils.Variables_Entorno
|
||||
{
|
||||
public class SubterraneaApiUrl
|
||||
{
|
||||
public string BaseUrl { get; set; }
|
||||
public string EndPoint { get; set; }
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue