Compare commits

...

11 Commits

  1. 2
      .vscode/launch.json
  2. 39
      .vscode/tasks.json
  3. 1
      AOLBackend.csproj
  4. 8
      Context/DapperContext.cs
  5. 2
      Contracts/Utils/IFileManagerRepository.cs
  6. 2
      Controllers/Usuarios/AuthController.cs
  7. 1
      Controllers/Usuarios/UsuariosController.cs
  8. 10
      Controllers/Utils/FileManagerController.cs
  9. 2
      Properties/launchSettings.json
  10. 14
      Repository/Catalogos/CatClientesRepository.cs
  11. 14
      Repository/Catalogos/CatProveedoresRepository.cs
  12. 30
      Repository/Catalogos/CatRutasRepository.cs
  13. 14
      Repository/Catalogos/CatServiciosRepository.cs
  14. 14
      Repository/Catalogos/CatTipoUnidadRepository.cs
  15. 16
      Repository/Catalogos/CatUbicacionesRepository.cs
  16. 5
      Repository/MenuRepository.cs
  17. 79
      Repository/Operaciones/OpViajesRepository.cs
  18. 49
      Repository/UsuariosRepository.cs
  19. 53
      Repository/Utils/FileManagerRepository.cs
  20. 4
      Repository/Utils/FilePaths4ProcessRepository.cs
  21. 6
      Services/MFileManager/SvcMFileManager.cs
  22. 9
      appsettings.Development.json
  23. 9
      appsettings.json
  24. 16
      bin/Debug/net6.0/AOLBackend.deps.json
  25. BIN
      bin/Debug/net6.0/AOLBackend.dll
  26. BIN
      bin/Debug/net6.0/AOLBackend.exe
  27. BIN
      bin/Debug/net6.0/AOLBackend.pdb
  28. 17
      bin/Debug/net6.0/appsettings.Development.json
  29. 35
      bin/Debug/net6.0/appsettings.json
  30. 96
      obj/AOLBackend.csproj.nuget.dgspec.json
  31. 22
      obj/AOLBackend.csproj.nuget.g.props
  32. 2
      obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs
  33. 1
      obj/Debug/net6.0/AOLBackend.AssemblyInfo.cs
  34. 4
      obj/Debug/net6.0/AOLBackend.GeneratedMSBuildEditorConfig.editorconfig
  35. 1
      obj/Debug/net6.0/AOLBackend.MvcApplicationPartsAssemblyInfo.cs
  36. BIN
      obj/Debug/net6.0/AOLBackend.assets.cache
  37. BIN
      obj/Debug/net6.0/AOLBackend.csproj.AssemblyReference.cache
  38. 1
      obj/Debug/net6.0/AOLBackend.csproj.CoreCompileInputs.cache
  39. 89
      obj/Debug/net6.0/AOLBackend.csproj.FileListAbsolute.txt
  40. BIN
      obj/Debug/net6.0/AOLBackend.dll
  41. 2
      obj/Debug/net6.0/AOLBackend.genruntimeconfig.cache
  42. BIN
      obj/Debug/net6.0/AOLBackend.pdb
  43. BIN
      obj/Debug/net6.0/apphost.exe
  44. BIN
      obj/Debug/net6.0/ref/AOLBackend.dll
  45. BIN
      obj/Debug/net6.0/refint/AOLBackend.dll
  46. 1260
      obj/project.assets.json
  47. 35
      obj/project.nuget.cache

@ -18,7 +18,7 @@
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+https?://\\S+",
"uriFormat": "https://localhost:7000/swagger/index.html"
"uriFormat": "https://localhost:5041/swagger/index.html"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"

39
.vscode/tasks.json vendored

@ -1,6 +1,45 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "publish for PRODUCTION : AOLBackend",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"/property:Configuration=Release",
"/property:EnvironmentName=Production",
"${workspaceFolder}/AOLBackend.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false,
"close": true
},
"problemMatcher": "$msCompile"
},
{
"label": "Clean & Build : AOLBackend ........... ! ........... CLEAN ........... ! ........... BUILD ........... !",
"command": "dotnet clean; dotnet build",
"type": "shell",
"args": [],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false,
"close": true
},
"problemMatcher": "$msCompile"
},
{
"label": "build",
"command": "dotnet",

@ -12,6 +12,7 @@
<!-- <PackageReference Include="Microsoft.Exchange.WebServices" Version="2.2.0" /> -->
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="6.22.0" />
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.22.0" />
<PackageReference Include="MySqlConnector" Version="2.2.5" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.3" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.22.0" />

@ -1,6 +1,7 @@
//using Microsoft.Data.SqlClient;
using System.Data;
using System.Data.SqlClient;
using MySqlConnector;
namespace AOLBackend.Context
{
@ -11,9 +12,10 @@ namespace AOLBackend.Context
public DapperContext(IConfiguration configuration)
{
_configuration = configuration;
_connectionString = _configuration.GetConnectionString("SqlConnection");
_connectionString = _configuration.GetConnectionString("MySqlConnection");
}
public IDbConnection CreateConnection()
=> new SqlConnection(_connectionString);
/* public IDbConnection CreateConnection()
=> new SqlConnection(_connectionString); */
public IDbConnection CreateConnection() => new MySqlConnection(_connectionString);
}
}

@ -7,6 +7,6 @@ namespace AOLBackend.Contracts.Utils
public Task<FileManager> getFileByProcess(long id, int Proceso);
public Task<List<FileManager>> getAllFilesByProcess(long Tags, int Proceso);
public Task<FileManager> getFileById(long id);
public Task deleteFileByProcess(long id, int Proceso);
public Task<Boolean> deleteFileByProcess(long id, int Proceso);
}
}

@ -10,8 +10,6 @@ using System.Security.Claims;
using AOLBackend.Services.EmailSender;
using System.Text;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace AOLBackend.Controllers.Usuarios
{
[Route("api/[controller]")]

@ -4,7 +4,6 @@ using AOLBackend.DTO.Usuario;
using AOLBackend.Models;
using AOLBackend.Services.EmailSender;
using Microsoft.AspNetCore.Mvc;
using System.Text;
namespace AOLBackend.Controllers.Usuarios
{

@ -12,7 +12,7 @@ namespace AOLBackend.Controllers.Utils
private readonly IFileManagerRepository _Repo;
private readonly IFilePaths4ProcessRepository _RepoRelativePath;
private readonly IConfiguration _config;
private readonly string RootPathCorresponsales;
private readonly string RootPath;
public FileManagerController(IFileManagerRepository Repo,
IFilePaths4ProcessRepository RepoRelativePath,
IConfiguration config)
@ -20,7 +20,7 @@ namespace AOLBackend.Controllers.Utils
_config = config;
_Repo = Repo;
_RepoRelativePath = RepoRelativePath;
RootPathCorresponsales = _config.GetValue<string>("AllFiles");
RootPath = _config.GetValue<string>("AllFiles");
}
[Route("GetFileInfoByProcess")]
@ -48,7 +48,7 @@ namespace AOLBackend.Controllers.Utils
DateTime time = DateTime.Now;
FilePaths4Process RelativePath = await _RepoRelativePath.getPaths4ProcessById(Proceso);
string fullPath = "";
fullPath = RootPathCorresponsales + RelativePath.Path;
fullPath = RootPath + RelativePath.Path;
string fileMime = file.FileName.Substring(file.FileName.Length - 4);
string newFileName = file.FileName.Replace(fileMime, "") + "_" + time.ToString("yyyy_MM_dd_HH_mm_ss") + fileMime;
FileManager data = new FileManager();
@ -89,7 +89,7 @@ namespace AOLBackend.Controllers.Utils
FileManager recFound = await _Repo.getFileByProcess(id, Proceso);
FilePaths4Process RelativePath = await _RepoRelativePath.getPaths4ProcessById(Proceso);
string fullPath = "";
fullPath = RootPathCorresponsales + RelativePath.Path;
fullPath = RootPath + RelativePath.Path;
if (!String.IsNullOrEmpty(recFound.NombreArchivo))
{
try
@ -126,7 +126,7 @@ namespace AOLBackend.Controllers.Utils
FileManager Found = await _Repo.getFileById(id);
FilePaths4Process RelativePath = await _RepoRelativePath.getPaths4ProcessById(Found.Proceso);
string fullPath = "";
fullPath = RootPathCorresponsales + RelativePath.Path;
fullPath = RootPath + RelativePath.Path;
try
{
if (System.IO.File.Exists(Path.Combine(fullPath, Found.NombreArchivo)))

@ -14,7 +14,7 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
"applicationUrl": "https://localhost:7000;http://localhost:5000",
"applicationUrl": "https://localhost:5041;http://localhost:5040",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

@ -18,28 +18,28 @@ namespace AOLBackend.Repository.Catalogos
public async Task<ICatClientes> Append(ICatClientes data)
{
var query = "[Catalogo.CatClientes.Append]";
var query = "CatClientes_Append";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatClientes>(query, new
{
@id = data.id,
@Cliente = data.Cliente,
@mid = data.id,
@mCliente = data.Cliente,
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
public async Task<IEnumerable<ICatClientes>> GetAll()
{
var query = "[Catalogo.CatClientes.Get]";
var query = "CatClientes_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatClientes>(query, new { }, commandType: CommandType.StoredProcedure);
return entrada;
}
public async Task<Boolean> Delete(int id)
public async Task<Boolean> Delete(int mid)
{
var query = "[Catalogo.CatClientes.Delete]";
var query = "CatClientes_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatClientes>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<ICatClientes>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}

@ -18,28 +18,28 @@ namespace AOLBackend.Repository.Catalogos
public async Task<ICatProveedores> Append(ICatProveedores data)
{
var query = "[Catalogo.CatProveedores.Append]";
var query = "CatProveedores_Append";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatProveedores>(query, new
{
@id = data.id,
@Proveedor = data.Proveedor,
@mid = data.id,
@mProveedor = data.Proveedor,
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
public async Task<IEnumerable<ICatProveedores>> GetAll()
{
var query = "[Catalogo.CatProveedores.Get]";
var query = "CatProveedores_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatProveedores>(query, new { }, commandType: CommandType.StoredProcedure);
return entrada;
}
public async Task<Boolean> Delete(int id)
public async Task<Boolean> Delete(int mid)
{
var query = "[Catalogo.CatProveedores.Delete]";
var query = "CatProveedores_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatProveedores>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<ICatProveedores>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}
}

@ -19,36 +19,36 @@ namespace AOLBackend.Repository.Catalogos
public async Task<ICatRutas> Append(ICatRutas data)
{
var query = "[Catalogo.CatRutas.Append]";
var query = "CatRutas_Append";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatRutas>(query, new
{
@id = data.id,
@Cliente = data.Cliente,
@Servicio = data.Servicio,
@Precio = data.Precio,
@Proveedor = data.Proveedor,
@Costo = data.Costo,
@Origen = data.Origen,
@Destino = data.Destino,
@TipoUnidad = data.TipoUnidad,
@Activo = data.Activo
mid = data.id,
mCliente = data.Cliente,
mServicio = data.Servicio,
mPrecio = data.Precio,
mProveedor = data.Proveedor,
mCosto = data.Costo,
mOrigen = data.Origen,
mDestino = data.Destino,
mTipoUnidad = data.TipoUnidad,
mActivo = data.Activo
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
public async Task<IEnumerable<DTOCatRutas>> GetAll()
{
var query = "[Catalogo.CatRutas.Get]";
var query = "CatRutas_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOCatRutas>(query, new { }, commandType: CommandType.StoredProcedure);
return entrada;
}
public async Task<Boolean> Delete(int id)
public async Task<Boolean> Delete(int mid)
{
var query = "[Catalogo.CatRutas.Delete]";
var query = "CatRutas_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatRutas>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<ICatRutas>(query, new { mid }, commandType: CommandType.StoredProcedure);
return true;
}
}

@ -18,28 +18,28 @@ namespace AOLBackend.Repository.Catalogos
public async Task<ICatServicios> Append(ICatServicios data)
{
var query = "[Catalogo.CatServicios.Append]";
var query = "CatServicios_Append";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatServicios>(query, new
{
@id = data.id,
@Servicio = data.Servicio
@mid = data.id,
@mServicio = data.Servicio
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
public async Task<IEnumerable<ICatServicios>> GetAll()
{
var query = "[Catalogo.CatServicios.Get]";
var query = "CatServicios_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatServicios>(query, new { }, commandType: CommandType.StoredProcedure);
return entrada;
}
public async Task<Boolean> Delete(int id)
public async Task<Boolean> Delete(int mid)
{
var query = "[Catalogo.CatServicios.Delete]";
var query = "CatServicios_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatServicios>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<ICatServicios>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}
}

@ -18,28 +18,28 @@ namespace AOLBackend.Repository.Catalogos
public async Task<ICatTipoUnidad> Append(ICatTipoUnidad data)
{
var query = "[Catalogo.CatTipoUnidad.Append]";
var query = "CatTipoUnidad_Append";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatTipoUnidad>(query, new
{
@id = data.id,
@TipoUnidad = data.TipoUnidad,
mid = data.id,
mTipoUnidad = data.TipoUnidad,
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
public async Task<IEnumerable<ICatTipoUnidad>> GetAll()
{
var query = "[Catalogo.CatTipoUnidad.Get]";
var query = "CatTipoUnidad_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatTipoUnidad>(query, new { }, commandType: CommandType.StoredProcedure);
return entrada;
}
public async Task<Boolean> Delete(int id)
public async Task<Boolean> Delete(int mid)
{
var query = "[Catalogo.CatTipoUnidad.Delete]";
var query = "CatTipoUnidad_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatTipoUnidad>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<ICatTipoUnidad>(query, new { mid }, commandType: CommandType.StoredProcedure);
return true;
}
}

@ -18,29 +18,29 @@ namespace AOLBackend.Repository.Catalogos
public async Task<ICatUbicaciones> Append(ICatUbicaciones data)
{
var query = "[Catalogo.CatUbicaciones.Append]";
var query = "CatUbicaciones_Append";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatUbicaciones>(query, new
{
@id = data.id,
@Ubicacion = data.Ubicacion,
@Clasificacion = data.Clasificacion
@mid = data.id,
@mUbicacion = data.Ubicacion,
@mClasificacion = data.Clasificacion
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
public async Task<IEnumerable<ICatUbicaciones>> GetAll()
{
var query = "[Catalogo.CatUbicaciones.Get]";
var query = "CatUbicaciones_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatUbicaciones>(query, new { }, commandType: CommandType.StoredProcedure);
return entrada;
}
public async Task<Boolean> Delete(int id)
public async Task<Boolean> Delete(int mid)
{
var query = "[Catalogo.CatUbicaciones.Delete]";
var query = "CatUbicaciones_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatUbicaciones>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<ICatUbicaciones>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}

@ -13,10 +13,11 @@ namespace AOLBackend.Repository
public MenuRepository(DapperContext context) { _context = context; }
public async Task<IEnumerable<IMenu>> GetItemsMenu(IUsuarios user)
{
var query = "[Menu.Get]";
//var query = "[Menu.Get]";
var query = "Menu_Get";
using (var connection = _context.CreateConnection())
{
var menu = await connection.QueryAsync<IMenu>(query, new { @id = user.Id }, commandType: CommandType.StoredProcedure);
var menu = await connection.QueryAsync<IMenu>(query, new { mid = user.Id }, commandType: CommandType.StoredProcedure);
return menu.ToList();
}
}

@ -1,7 +1,6 @@
using AOLBackend.Context;
using AOLBackend.Contracts.Operaciones;
using AOLBackend.DTO.Operaciones;
using AOLBackend.Models.Operaciones;
using Dapper;
using System.Data;
@ -18,93 +17,93 @@ namespace AOLBackend.Repository.Operaciones
}
public async Task<DTOOpViajes> Append(DTOOpViajes data)
{
var query = "[Operaciones.Viajes.Append]";
var query = "Operaciones_Viajes_Append";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOOpViajes>(query, new
{
@id = data.id,
@Usuario = data.Usuario,
@RefAgenciaAduanal = data.RefAgenciaAduanal,
@Cliente = data.Cliente,
@TipoUnidad = data.TipoUnidad,
@NoCaja = data.NoCaja,
@PickUpNumber = data.PickUpNumber,
@Origen = data.Origen,
@Destino = data.Destino,
@Hazmat = data.Hazmat,
@TipoOperacion = data.TipoOperacion,
@Pedimento = data.Pedimento,
mid = data.id,
mUsuario = data.Usuario,
mRefAgenciaAduanal = data.RefAgenciaAduanal,
mCliente = data.Cliente,
mTipoUnidad = data.TipoUnidad,
mNoCaja = data.NoCaja,
mPickUpNumber = data.PickUpNumber,
mOrigen = data.Origen,
mDestino = data.Destino,
mHazmat = data.Hazmat,
mTipoOperacion = data.TipoOperacion,
mPedimento = data.Pedimento,
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
public async Task<IEnumerable<DTOOpViajesServicios>> AppendServicio(DTOOpViajesServicios data)
{
var query = "[Operaciones.Viajes.Servicios.Append]";
var query = "Operaciones_Viajes_Servicios_Append";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOOpViajesServicios>(query, new
{
@id = data.id,
@IdViaje = data.IdViaje,
@IdServicio = data.IdServicio,
@Aduana = data.Aduana,
@Comentarios = data.Comentarios,
@IdProveedor = data.IdProveedor,
@NoCaja = data.NoCaja,
@Cita = data.Cita
mid = data.id,
mIdViaje = data.IdViaje,
mIdServicio = data.IdServicio,
mAduana = data.Aduana,
mComentarios = data.Comentarios,
mIdProveedor = data.IdProveedor,
mNoCaja = data.NoCaja,
mCita = data.Cita
}, commandType: CommandType.StoredProcedure);
return entrada.ToList();
}
public async Task<IEnumerable<DTOOpViajes>> GetAll()
{
var query = "[Operaciones.Viajes.Get]";
var query = "Operaciones_Viajes_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOOpViajes>(query, new { }, commandType: CommandType.StoredProcedure);
return entrada;
}
public async Task<IEnumerable<DTOOpViajesServicios>> GetAllServices(int Status)
public async Task<IEnumerable<DTOOpViajesServicios>> GetAllServices(int mStatus)
{
var query = "[Operaciones.Viajes.Servicios.Get]";
var query = "Operaciones_Viajes_Servicios_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOOpViajesServicios>(query, new { @Status }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<DTOOpViajesServicios>(query, new { @mStatus }, commandType: CommandType.StoredProcedure);
return entrada;
}
public async Task<DTOUltimaCaja> GetLastTrailerBox(int idViaje)
public async Task<DTOUltimaCaja> GetLastTrailerBox(int mIdViaje)
{
var query = "[Operaciones.Viajes.GetLastTrailerBox]";
var query = "Operaciones_Viajes_GetLastTrailerBox";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOUltimaCaja>(query, new { @IdViaje = idViaje }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<DTOUltimaCaja>(query, new { @mIdViaje }, commandType: CommandType.StoredProcedure);
return entrada.First();
}
public async Task<IEnumerable<DTOOpViajesEstatusSecuencia>> GetStatusSecuence()
{
var query = "[Operaciones.Viajes.Estatus.Secuencia.Get]";
var query = "Operaciones_Viajes_Estatus_Secuencia_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOOpViajesEstatusSecuencia>(query, new { }, commandType: CommandType.StoredProcedure);
return entrada;
}
public async Task<DTOResultTripStatus> ChangeTripStatus(DTOChangeTripStatus data)
{
var query = "[Operaciones.Viajes.ChangeStatus]";
var query = "Operaciones_Viajes_ChangeStatus";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOResultTripStatus>(query, new
{
@IdViaje = data.IdViaje,
@Secuencia = data.IdEstatus
@mIdViaje = data.IdViaje,
@mSecuencia = data.IdEstatus
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
public async Task<Boolean> Delete(int id)
public async Task<Boolean> Delete(int mid)
{
var query = "[Operaciones.Viajes.Delete]";
var query = "Operaciones_Viajes_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOOpViajes>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<DTOOpViajes>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}
public async Task<Boolean> DeleteService(int id)
public async Task<Boolean> DeleteService(int mid)
{
var query = "[Operaciones.Viajes.Servicios.Delete]";
var query = "Operaciones_Viajes_Servicios_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOOpViajes>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<DTOOpViajes>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}
}

@ -21,7 +21,7 @@ namespace AOLBackend.Repository
public async Task<IEnumerable<DTOUsuarioShort>> GetAllUsuariosShort()
{
var query = "SELECT id, Usuario FROM Usuario WHERE Usuario<>'Admin'";
var query = "SELECT id, Usuario FROM usuario WHERE Usuario<>'Admin'";
using (var connection = _context.CreateConnection())
{
var usuarios = await connection.QueryAsync<DTOUsuarioShort>(query);
@ -31,7 +31,7 @@ namespace AOLBackend.Repository
public async Task<IEnumerable<IUsuarios>> GetAllUsuarios()
{
var query = "SELECT * FROM Usuario";
var query = "SELECT * FROM usuario";
using (var connection = _context.CreateConnection())
{
var usuarios = await connection.QueryAsync<IUsuarios>(query);
@ -41,7 +41,7 @@ namespace AOLBackend.Repository
public async Task<IUsuarios> GetUsuarioById(int id)
{
var query = "SELECT * FROM Usuario WHERE id=@id";
var query = "SELECT * FROM usuario WHERE id=@id";
using (var connection = _context.CreateConnection())
{
var usuario = await connection.QueryAsync<IUsuarios>(query, new { id = id });
@ -52,16 +52,17 @@ namespace AOLBackend.Repository
public async Task<IUsuarios> GetUsuario(DTOLogin user)
{
var query = "[Usuario.Get]";
/* var query = "[Usuario.Get]"; */
var query = "Usuario_Get";
using (var connection = _context.CreateConnection())
{
string passwordCrypto = CryptDecrypt.Encrypt(user.Contrasena);
var usuarios = await connection.QueryAsync<IUsuarios>(query,
new
{
Usuario = user.Usuario,
Contrasena = user.Contrasena,
@HashContrasena = passwordCrypto,
mUsuario = user.Usuario,
mContrasena = user.Contrasena,
mHashContrasena = passwordCrypto,
}, commandType: CommandType.StoredProcedure);
IUsuarios userFound = usuarios.First();
if (userFound == null) return userFound!;
@ -73,7 +74,7 @@ namespace AOLBackend.Repository
public async Task<IUsuarios> SearchUsuario(DTOLogin user)
{
var query = "SELECT * FROM Usuario WHERE Usuario=@Usuario";
var query = "SELECT * FROM usuario WHERE Usuario=@Usuario";
using (var connection = _context.CreateConnection())
{
var usuario = await connection.QueryAsync<IUsuarios>(query, new { @Usuario = user.Usuario });
@ -84,14 +85,14 @@ namespace AOLBackend.Repository
public async Task<DTOLogin> ResetPassword(DTOLogin user)
{
var query = "[Usuario.ResetPassword]";
var query = "Usuario_Reset_Password";
using (var connection = _context.CreateConnection())
{
var usuarios = await connection.QueryAsync<DTOLogin>(query, new
{
@Usuario = user.Usuario,
@Contrasena = user.Contrasena,
@HashContrasena = CryptDecrypt.Encrypt(user.Contrasena),
mUsuario = user.Usuario,
mContrasena = user.Contrasena,
mHashContrasena = CryptDecrypt.Encrypt(user.Contrasena),
}, commandType: CommandType.StoredProcedure);
if (usuarios.Count() == 0) return null!;
var userFound = usuarios.First();
@ -101,18 +102,18 @@ namespace AOLBackend.Repository
public async Task<IUsuarios> CreateUsuario(IUsuarios user)
{
var query = "[Usuario.Append]";
var query = "Usuario_Append";
using (var connection = _context.CreateConnection())
{
if (user.Id == 0) user.Contrasena = _config.GetValue<string>("DefaultUser:Password");
var usuario = await connection.QueryAsync<IUsuarios>(query, new
{
@id = user.Id,
@Usuario = user.Usuario,
@Nombre = user.Nombre,
@Contrasena = CryptDecrypt.Encrypt(user.Contrasena),
@TipoUsuario = user.TipoUsuario,
@Activo = user.Activo,
mid = user.Id,
mUsuario = user.Usuario,
mNombre = user.Nombre,
mContrasena = CryptDecrypt.Encrypt(user.Contrasena),
mTipoUsuario = user.TipoUsuario,
mActivo = user.Activo,
}, commandType: CommandType.StoredProcedure);
return usuario.First();
}
@ -125,8 +126,8 @@ namespace AOLBackend.Repository
{
var usuario = await connection.QueryAsync<DTOClonarUsuario>(query, new
{
@IdUsuarioOrigen = user.IDUsuarioOrigen,
@IdUsuarioDestino = user.IdUsuarioDestino
mIdUsuarioOrigen = user.IDUsuarioOrigen,
mIdUsuarioDestino = user.IdUsuarioDestino
}, commandType: CommandType.StoredProcedure);
return usuario.ToList();
}
@ -134,13 +135,13 @@ namespace AOLBackend.Repository
public async Task<Boolean> Activate(int id, int Activo)
{
var query = "[Usuario.Activate]";
var query = "Usuario_Activate";
using (var connection = _context.CreateConnection())
{
var usuario = await connection.QueryAsync<IUsuarios>(query, new
{
@id = id,
@Activo = Activo,
mid = id,
mActivo = Activo,
}, commandType: CommandType.StoredProcedure);
return true;
}

@ -13,16 +13,16 @@ namespace AOLBackend.Repository.Utils
public async Task<FileManager> FileManager(FileManager data)
{
var query = "[Utils.FileManager.Append]";
var query = "Utils_FileManager_Append";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<FileManager>(query, new
{
@id = 0,
@IdUsuario = data.IdUsuario,
@Proceso = data.Proceso,
@NombreArchivo = data.NombreArchivo,
@Tags = data.Tags,
@Size = data.Size
mid = 0,
mIdUsuario = data.IdUsuario,
mProceso = data.Proceso,
mNombreArchivo = data.NombreArchivo,
mTags = data.Tags,
mSize = data.Size
},
commandType: CommandType.StoredProcedure);
return entrada.First();
@ -30,14 +30,14 @@ namespace AOLBackend.Repository.Utils
public async Task<FileManager> getFileByProcess(long id, int Proceso)
{
var query = "[Utils.FileManager.Get]";
var query = "Utils_FileManager_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<FileManager>(query, new
{
@id = 0,
@Proceso = Proceso,
@NombreArchivo = "",
@Tags = id,
mid = 0,
mProceso = Proceso,
mNombreArchivo = "",
mTags = id,
},
commandType: CommandType.StoredProcedure);
return entrada.FirstOrDefault(new FileManager { id = id, Proceso = Proceso, NombreArchivo = "", Tags = "", Size = 0 });
@ -45,14 +45,14 @@ namespace AOLBackend.Repository.Utils
public async Task<FileManager> getFileById(long id)
{
var query = "[Utils.FileManager.Get]";
var query = "Utils_FileManager_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<FileManager>(query, new
{
@id = id,
@Proceso = 0,
@NombreArchivo = "",
@Tags = id,
mid = id,
mProceso = 0,
mNombreArchivo = "",
mTags = id,
},
commandType: CommandType.StoredProcedure);
return entrada.FirstOrDefault(new FileManager { id = id, Proceso = 0, NombreArchivo = "", Tags = "", Size = 0 });
@ -60,29 +60,30 @@ namespace AOLBackend.Repository.Utils
public async Task<List<FileManager>> getAllFilesByProcess(long Tags, int Proceso)
{
var query = "[Utils.FileManager.Get]";
var query = "Utils_FileManager_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<FileManager>(query, new
{
@id = 0,
@Proceso = Proceso,
@NombreArchivo = "",
@Tags = Tags,
mid = 0,
mProceso = Proceso,
mNombreArchivo = "",
mTags = Tags,
},
commandType: CommandType.StoredProcedure);
return entrada.ToList();
}
public async Task deleteFileByProcess(long id, int Proceso)
public async Task<Boolean> deleteFileByProcess(long id, int Proceso)
{
var query = "[Utils.FileManager.Delete]";
var query = "Utils_FileManager_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<FileManager>(query, new
{
@id = id,
@Proceso = Proceso,
mid = id,
mProceso = Proceso,
},
commandType: CommandType.StoredProcedure);
return true;
}
}
}

@ -13,11 +13,11 @@ namespace AOLBackend.Repository.Utils
public async Task<FilePaths4Process> getPaths4ProcessById(long id)
{
var query = "[Utils.FileManager.RootPath.Get]";
var query = "Utils_FileManager_RootPath_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<FilePaths4Process>(query, new
{
@id = id,
mid = id,
},
commandType: CommandType.StoredProcedure);
return entrada.First();

@ -8,14 +8,15 @@ namespace AOLBackend.Services.MFileManager
{
private readonly IFileManagerRepository _Repo;
private readonly IConfiguration _config;
// private readonly IFilePaths4ProcessRepository _RepoRelativePath;
private readonly string rootPath;
private readonly string defaultImage;
public SvcMFileManager(IConfiguration config, IFileManagerRepository Repo, string _rootPath)
{
_config = config;
_Repo = Repo;
rootPath = _rootPath;
defaultImage = _config.GetValue<string>("defaultImage");
}
public async Task<List<FileManager>> GetFilesFromLog(int Tags, int Proceso)
@ -26,8 +27,7 @@ namespace AOLBackend.Services.MFileManager
public async Task<IActionResult> getFileContentById(long id)
{
Boolean ExisteEnDisco = false;
byte[] emptyFile = System.IO.File.ReadAllBytes("c:\\downs\\empty.png");
//byte[] emptyFile = System.IO.File.ReadAllBytes("D:\\data\\empty.png");
byte[] emptyFile = System.IO.File.ReadAllBytes(defaultImage);
MemoryStream emptyms = new MemoryStream(emptyFile);
FileManager recFound = await _Repo.getFileById(id);
if (!String.IsNullOrEmpty(recFound.NombreArchivo))

@ -1,6 +1,7 @@
{
"ConnectionStrings": {
"SqlConnection": "server=.; database=AOL; Integrated Security=true;TrustServerCertificate=True;"
"SqlConnection": "server=.; database=AOL; Integrated Security=true;TrustServerCertificate=True;",
"MySQLConnection": "Server=127.0.0.1; User ID=root; Password=toor1234; Database=aol"
},
"Logging": {
"LogLevel": {
@ -10,8 +11,6 @@
},
"pathArchivoElectronico": "C:\\downs\\ArchivoElectronicoSIR\\www.gemcousa.com\\SIR-GEMCO\\DOCS-SIR\\",
"pathTemp": "C:\\downs\\temp\\",
"pathFotosBodega": "c:\\data\\Bodega\\Fotos\\",
"pathZipCorresponsales": "C:\\data\\",
"CorresponsalesFilePath": "C:\\data\\",
"Allfiles": "C:\\data\\"
"defaultImage": "C:\\downs\\empty.png",
"Allfiles": "C:\\data\\AOL\\"
}

@ -1,6 +1,7 @@
{
"ConnectionStrings": {
"SqlConnection": "server=localhost; database=AOL; User Id=AOLadmin;Password=40La6m1n.22;Encrypt=False;"
"SqlConnection": "server=localhost; database=AOL; User Id=sa;Password=toor1234;Encrypt=False;",
"MySQLConnection": "Server=172.25.194.179; User ID=root; Password=toor1234; Database=aol"
},
"DefaultUser": {
"Password": "Bienvenido123!"
@ -28,8 +29,6 @@
"EmailPassword": "Al%G22a3",
"pathArchivoElectronico": "D:\\data\\ArchivoElectronicoSIR\\www.gemcousa.com\\SIR-GEMCO\\DOCS-SIR\\",
"pathTemp": "D:\\data\\temp\\",
"pathFotosBodega": "D:\\data\\Bodega\\Fotos\\",
"pathZipCorresponsales": "D:\\data\\Corresponsales\\Zips\\",
"CorresponsalesFilePath": "D:\\data\\Corresponsales\\",
"AllFiles": "D:\\data\\"
"defaultImage": "D:\\downs\\empty.png",
"AllFiles": "D:\\data\\AOL\\"
}

@ -12,6 +12,7 @@
"Microsoft.AspNetCore.Authentication.JwtBearer": "6.0.8",
"Microsoft.IdentityModel.JsonWebTokens": "6.22.0",
"Microsoft.IdentityModel.Tokens": "6.22.0",
"MySqlConnector": "2.2.5",
"Swashbuckle.AspNetCore": "6.2.3",
"System.Data.SqlClient": "4.8.3",
"System.IdentityModel.Tokens.Jwt": "6.22.0"
@ -123,6 +124,14 @@
"System.Security.Principal.Windows": "4.7.0"
}
},
"MySqlConnector/2.2.5": {
"runtime": {
"lib/net6.0/MySqlConnector.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.2.5.0"
}
}
},
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"dependencies": {
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0",
@ -341,6 +350,13 @@
"path": "microsoft.win32.registry/4.7.0",
"hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512"
},
"MySqlConnector/2.2.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-6sinY78RvryhHwpup3awdjYO7d5hhWahb5p/1VDODJhSxJggV/sBbYuKK5IQF9TuzXABiddqUbmRfM884tqA3Q==",
"path": "mysqlconnector/2.2.5",
"hashPath": "mysqlconnector.2.2.5.nupkg.sha512"
},
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"type": "package",
"serviceable": true,

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,17 +0,0 @@
{
"ConnectionStrings": {
"SqlConnection": "server=.; database=AOL; Integrated Security=true;TrustServerCertificate=True;"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"pathArchivoElectronico": "C:\\downs\\ArchivoElectronicoSIR\\www.gemcousa.com\\SIR-GEMCO\\DOCS-SIR\\",
"pathTemp": "C:\\downs\\temp\\",
"pathFotosBodega": "c:\\data\\Bodega\\Fotos\\",
"pathZipCorresponsales": "C:\\data\\",
"CorresponsalesFilePath": "C:\\data\\",
"Allfiles": "C:\\data\\"
}

@ -1,35 +0,0 @@
{
"ConnectionStrings": {
"SqlConnection": "server=localhost; database=AOL; User Id=AOLadmin;Password=40La6m1n.22;Encrypt=False;"
},
"DefaultUser": {
"Password": "Bienvenido123!"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"Jwt": {
"Key": "GFE1j5KLolZHDK9iKw5xK17Rz4ty7BlbXgnjPL6dNwVCCNQWU8uRGVyZmAZPWZMs4XX0phFMS849p25Lrwsn31Bi4J7GT2HQ9xeWlJLarJPDyoRZZvChpovwgrquQ9Pd",
"Issuer": "JWTAuthenticationServer",
"Audience": "JWTServicePostmanClient",
"Subject": "JWTServiceAccessToken",
"ExpirationHours": 4,
"ExpirationMinutes": 1
},
"EmailServer": "alphaomega-com-mx.mail.protection.outlook.com",
"EmailPort": "25",
"EmailUser": "noreply",
"EmailDomian": "alphaomega.com.mx",
"EmailAccount": "noreply@alphaomega.com.mx",
"EmailPassword": "Al%G22a3",
"pathArchivoElectronico": "D:\\data\\ArchivoElectronicoSIR\\www.gemcousa.com\\SIR-GEMCO\\DOCS-SIR\\",
"pathTemp": "D:\\data\\temp\\",
"pathFotosBodega": "D:\\data\\Bodega\\Fotos\\",
"pathZipCorresponsales": "D:\\data\\Corresponsales\\Zips\\",
"CorresponsalesFilePath": "D:\\data\\Corresponsales\\",
"AllFiles": "D:\\data\\"
}

@ -1,96 +0,0 @@
{
"format": 1,
"restore": {
"C:\\projects\\staging\\AOLBackend\\AOLBackend.csproj": {}
},
"projects": {
"C:\\projects\\staging\\AOLBackend\\AOLBackend.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\projects\\staging\\AOLBackend\\AOLBackend.csproj",
"projectName": "AOLBackend",
"projectPath": "C:\\projects\\staging\\AOLBackend\\AOLBackend.csproj",
"packagesPath": "C:\\Users\\Alfonso Garcia\\.nuget\\packages\\",
"outputPath": "C:\\projects\\staging\\AOLBackend\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\Alfonso Garcia\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"Dapper": {
"target": "Package",
"version": "[2.0.123, )"
},
"Microsoft.AspNetCore.Authentication.JwtBearer": {
"target": "Package",
"version": "[6.0.8, )"
},
"Microsoft.IdentityModel.JsonWebTokens": {
"target": "Package",
"version": "[6.22.0, )"
},
"Microsoft.IdentityModel.Tokens": {
"target": "Package",
"version": "[6.22.0, )"
},
"Swashbuckle.AspNetCore": {
"target": "Package",
"version": "[6.2.3, )"
},
"System.Data.SqlClient": {
"target": "Package",
"version": "[4.8.3, )"
},
"System.IdentityModel.Tokens.Jwt": {
"target": "Package",
"version": "[6.22.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
}
}
}
}
}

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Alfonso Garcia\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.4.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Alfonso Garcia\.nuget\packages\" />
</ItemGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\3.0.0\build\Microsoft.Extensions.ApiDescription.Server.props" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\3.0.0\build\Microsoft.Extensions.ApiDescription.Server.props')" />
<Import Project="$(NuGetPackageRoot)swashbuckle.aspnetcore\6.2.3\build\Swashbuckle.AspNetCore.props" Condition="Exists('$(NuGetPackageRoot)swashbuckle.aspnetcore\6.2.3\build\Swashbuckle.AspNetCore.props')" />
</ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">C:\Users\Alfonso Garcia\.nuget\packages\microsoft.extensions.apidescription.server\3.0.0</PkgMicrosoft_Extensions_ApiDescription_Server>
</PropertyGroup>
</Project>

@ -1,4 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.

@ -9,9 +9,9 @@ build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = AOLBackend
build_property.RootNamespace = AOLBackend
build_property.ProjectDir = c:\Projects\staging\AOLBackend\
build_property.ProjectDir = C:\Projects\staging\AOLBackend\
build_property.RazorLangVersion = 6.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = c:\Projects\staging\AOLBackend
build_property.MSBuildProjectDirectory = C:\Projects\staging\AOLBackend
build_property._RazorSourceGeneratorDebug =

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.

@ -1 +0,0 @@
98dcc38fb2c7ab63ef7a47333e0e07fce2a8e400

@ -1,89 +0,0 @@
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\AOLBackend.csproj.AssemblyReference.cache
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\AOLBackend.GeneratedMSBuildEditorConfig.editorconfig
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\AOLBackend.AssemblyInfoInputs.cache
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\AOLBackend.AssemblyInfo.cs
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\AOLBackend.csproj.CoreCompileInputs.cache
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\AOLBackend.MvcApplicationPartsAssemblyInfo.cs
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\AOLBackend.MvcApplicationPartsAssemblyInfo.cache
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\appsettings.Development.json
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\appsettings.json
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\AOLBackend.exe
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\AOLBackend.deps.json
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\AOLBackend.runtimeconfig.json
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\AOLBackend.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\AOLBackend.pdb
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Dapper.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Microsoft.AspNetCore.Authentication.JwtBearer.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Abstractions.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Logging.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Tokens.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Microsoft.OpenApi.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Swashbuckle.AspNetCore.Swagger.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerGen.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerUI.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\System.Data.SqlClient.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\System.IdentityModel.Tokens.Jwt.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\runtimes\win-arm64\native\sni.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\runtimes\win-x64\native\sni.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\runtimes\win-x86\native\sni.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\runtimes\unix\lib\netcoreapp2.1\System.Data.SqlClient.dll
C:\projects\staging\AOL\AOLBackend\bin\Debug\net6.0\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\staticwebassets.build.json
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\staticwebassets.development.json
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\scopedcss\bundle\AOLBackend.styles.css
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\AOLBackend.csproj.CopyComplete
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\AOLBackend.dll
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\refint\AOLBackend.dll
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\AOLBackend.pdb
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\AOLBackend.genruntimeconfig.cache
C:\projects\staging\AOL\AOLBackend\obj\Debug\net6.0\ref\AOLBackend.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\appsettings.Development.json
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\appsettings.json
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\AOLBackend.exe
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\AOLBackend.deps.json
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\AOLBackend.runtimeconfig.json
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\AOLBackend.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\AOLBackend.pdb
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Dapper.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.AspNetCore.Authentication.JwtBearer.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Abstractions.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Logging.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Tokens.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.OpenApi.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Swashbuckle.AspNetCore.Swagger.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerGen.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerUI.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\System.Data.SqlClient.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\System.IdentityModel.Tokens.Jwt.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\runtimes\win-arm64\native\sni.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\runtimes\win-x64\native\sni.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\runtimes\win-x86\native\sni.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\runtimes\unix\lib\netcoreapp2.1\System.Data.SqlClient.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.csproj.AssemblyReference.cache
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.GeneratedMSBuildEditorConfig.editorconfig
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.AssemblyInfoInputs.cache
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.AssemblyInfo.cs
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.csproj.CoreCompileInputs.cache
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.MvcApplicationPartsAssemblyInfo.cs
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.MvcApplicationPartsAssemblyInfo.cache
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\staticwebassets\msbuild.AOLBackend.Microsoft.AspNetCore.StaticWebAssets.props
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\staticwebassets\msbuild.build.AOLBackend.props
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\staticwebassets\msbuild.buildMultiTargeting.AOLBackend.props
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\staticwebassets\msbuild.buildTransitive.AOLBackend.props
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\staticwebassets.pack.json
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\staticwebassets.build.json
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\staticwebassets.development.json
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\scopedcss\bundle\AOLBackend.styles.css
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.csproj.CopyComplete
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.dll
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\refint\AOLBackend.dll
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.pdb
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.genruntimeconfig.cache
C:\Projects\staging\AOLBackend\obj\Debug\net6.0\ref\AOLBackend.dll

Binary file not shown.

@ -1 +1 @@
1348870a5d9284965ce2d129392d570c22bb3991
92fda87095c47ad8e211fcd75e619afd7423bf91

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

@ -1,35 +0,0 @@
{
"version": 2,
"dgSpecHash": "rBIRBlcPbX0fjjiwFZySjBCqrfo4F0ceRPhnq+vPt64/UiER8fOjOU2oEMJ8iR8m6l1m7+CyXrI0IiOW1jV5ZA==",
"success": true,
"projectFilePath": "C:\\projects\\staging\\AOLBackend\\AOLBackend.csproj",
"expectedPackageFiles": [
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\dapper\\2.0.123\\dapper.2.0.123.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.aspnetcore.authentication.jwtbearer\\6.0.8\\microsoft.aspnetcore.authentication.jwtbearer.6.0.8.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.csharp\\4.5.0\\microsoft.csharp.4.5.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.extensions.apidescription.server\\3.0.0\\microsoft.extensions.apidescription.server.3.0.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.identitymodel.abstractions\\6.22.0\\microsoft.identitymodel.abstractions.6.22.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\6.22.0\\microsoft.identitymodel.jsonwebtokens.6.22.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.identitymodel.logging\\6.22.0\\microsoft.identitymodel.logging.6.22.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.identitymodel.protocols\\6.10.0\\microsoft.identitymodel.protocols.6.10.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.identitymodel.protocols.openidconnect\\6.10.0\\microsoft.identitymodel.protocols.openidconnect.6.10.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.identitymodel.tokens\\6.22.0\\microsoft.identitymodel.tokens.6.22.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.openapi\\1.2.3\\microsoft.openapi.1.2.3.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\runtime.native.system.data.sqlclient.sni\\4.7.0\\runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\runtime.win-x64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\runtime.win-x86.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\swashbuckle.aspnetcore\\6.2.3\\swashbuckle.aspnetcore.6.2.3.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\swashbuckle.aspnetcore.swagger\\6.2.3\\swashbuckle.aspnetcore.swagger.6.2.3.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\swashbuckle.aspnetcore.swaggergen\\6.2.3\\swashbuckle.aspnetcore.swaggergen.6.2.3.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\swashbuckle.aspnetcore.swaggerui\\6.2.3\\swashbuckle.aspnetcore.swaggerui.6.2.3.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\system.data.sqlclient\\4.8.3\\system.data.sqlclient.4.8.3.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\system.identitymodel.tokens.jwt\\6.22.0\\system.identitymodel.tokens.jwt.6.22.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\system.security.cryptography.cng\\4.5.0\\system.security.cryptography.cng.4.5.0.nupkg.sha512",
"C:\\Users\\Alfonso Garcia\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512"
],
"logs": []
}
Loading…
Cancel
Save