Compare commits
17 Commits
faa80790ee
...
8de480aed5
| Author | SHA1 | Date | |
|---|---|---|---|
| 8de480aed5 | |||
| 3616449d84 | |||
| 57b84cdf9a | |||
| c493033009 | |||
| aa3a281092 | |||
| 812b9a9fba | |||
| eb25f4700f | |||
| 1aba8e7cd5 | |||
| 390fafce97 | |||
| ae8dc07364 | |||
| 675d86f38d | |||
| 51676e6434 | |||
| 9b0bde293b | |||
|
|
f2457d4eaa | ||
| cefd645974 | |||
| d72741b43e | |||
|
|
8ad9dc6e8b |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.vs/slnx.sqlite
BIN
.vs/slnx.sqlite
Binary file not shown.
@@ -6,14 +6,12 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Modelo\Modelo.csproj" />
|
||||
<ProjectReference Include="..\Entidades\Entidades.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Emailer" Version="1.0.0" />
|
||||
<PackageReference Include="webhookSharp" Version="1.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Runtime.InteropServices;
|
||||
using Modelo;
|
||||
|
||||
namespace Controladora
|
||||
{
|
||||
public abstract class ControladoraBase<T /*Tipo de Dato*/ ,
|
||||
J /*Singleton*/>
|
||||
where J : new()
|
||||
{
|
||||
|
||||
|
||||
// Singleton thread-safe por si quiero usar "Parallel"
|
||||
private static J instance = new J();
|
||||
public static J Instance
|
||||
{
|
||||
get
|
||||
{
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Lista los contenidos del repositorio
|
||||
abstract public ReadOnlyCollection<T> Listar();
|
||||
|
||||
// Recibe mensajes de la Vista para dar de alta
|
||||
abstract public string Añadir(T t);
|
||||
|
||||
// Recibe mensajes para modificar
|
||||
abstract public string Modificar(T t);
|
||||
|
||||
// Recibe mensajes para eliminar
|
||||
abstract public string Eliminar(T t);
|
||||
}
|
||||
}
|
||||
@@ -4,39 +4,55 @@ using Modelo;
|
||||
|
||||
namespace Controladora
|
||||
{
|
||||
class ControladoraCategorias : ControladoraBase<Categoria, ControladoraCategorias>
|
||||
public class ControladoraCategorias : Singleton<ControladoraCategorias>
|
||||
{
|
||||
public override string Añadir(Categoria t)
|
||||
// Método para verificar si una categoría con un ID ya existe
|
||||
private bool CategoriaExiste(int id)
|
||||
{
|
||||
if (t == null) return "El Categoria es nulo fallo la carga";
|
||||
|
||||
return (RepositorioCategoria.Instance.Add(t)) ?
|
||||
$"El Categoria {t.Descripcion} se cargo correctamente":
|
||||
$"Fallo la carga del Categoria {t.Descripcion}";
|
||||
var categorias = RepositorioCategoria.Instance.Listar();
|
||||
return categorias.Any(c => c.Id == id);
|
||||
}
|
||||
|
||||
override public string Eliminar(Categoria t)
|
||||
public string Añadir(Categoria t)
|
||||
{
|
||||
if (t == null) return "El Categoria es nulo fallo la carga";
|
||||
if (t == null) return "La categoría es nula, fallo la carga";
|
||||
|
||||
return (RepositorioCategoria.Instance.Del(t)) ?
|
||||
$"El Categoria {t.Descripcion} se Elimino correctamente":
|
||||
$"Fallo la Eliminacion del Categoria {t.Descripcion}";
|
||||
if (CategoriaExiste(t.Id))
|
||||
{
|
||||
return $"Ya existe una categoría con el ID {t.Id}";
|
||||
}
|
||||
|
||||
return (RepositorioCategoria.Instance.Add(t)) ?
|
||||
$"La categoría {t.Descripcion} se cargó correctamente" :
|
||||
$"Falló la carga de la categoría {t.Descripcion}";
|
||||
}
|
||||
|
||||
override public string Modificar(Categoria t)
|
||||
public string Eliminar(Categoria t)
|
||||
{
|
||||
if (t == null) return "El Categoria es nulo fallo la carga";
|
||||
if (t == null) return "La categoría es nula, fallo la carga";
|
||||
|
||||
return (RepositorioCategoria.Instance.Mod(t)) ?
|
||||
$"El Categoria {t.Descripcion} se Modifico correctamente":
|
||||
$"Fallo la Modificacion del Categoria {t.Descripcion}";
|
||||
return (RepositorioCategoria.Instance.Del(t)) ?
|
||||
$"La categoría {t.Descripcion} se eliminó correctamente" :
|
||||
$"Falló la eliminación de la categoría {t.Descripcion}";
|
||||
}
|
||||
|
||||
public override ReadOnlyCollection<Categoria> Listar()
|
||||
public string Modificar(Categoria t)
|
||||
{
|
||||
if (t == null) return "La categoría es nula, fallo la carga";
|
||||
|
||||
if (!CategoriaExiste(t.Id))
|
||||
{
|
||||
return $"No se encontró una categoría con el ID {t.Id}";
|
||||
}
|
||||
|
||||
return (RepositorioCategoria.Instance.Mod(t)) ?
|
||||
$"La categoría {t.Descripcion} se modificó correctamente" :
|
||||
$"Falló la modificación de la categoría {t.Descripcion}";
|
||||
}
|
||||
|
||||
public ReadOnlyCollection<Categoria> Listar()
|
||||
{
|
||||
return RepositorioCategoria.Instance.Listar();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,38 +4,58 @@ using Modelo;
|
||||
|
||||
namespace Controladora
|
||||
{
|
||||
class ControladoraClientes : ControladoraBase<Cliente, ControladoraClientes>
|
||||
public class ControladoraClientes : Singleton<ControladoraClientes>
|
||||
{
|
||||
public override string Añadir(Cliente t)
|
||||
public string Añadir(Cliente t)
|
||||
{
|
||||
if (t == null) return "El Cliente es nulo fallo la carga";
|
||||
if (t == null)
|
||||
{
|
||||
return "El Cliente es nulo, fallo la carga";
|
||||
}
|
||||
|
||||
return (RepositorioClientes.Instance.Add(t)) ?
|
||||
$"El Cliente {t.Nombre} se cargo correctamente":
|
||||
$"Fallo la carga del Cliente {t.Nombre}";
|
||||
// Verificar si el CUIT ya existe en el repositorio
|
||||
if (RepositorioClientes.Instance.ExistePorCuit(t.Cuit))
|
||||
{
|
||||
return $"El Cliente con el CUIT {t.Cuit} ya existe";
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
bool resultado = RepositorioClientes.Instance.Add(t);
|
||||
return resultado ?
|
||||
$"El Cliente con el CUIT {t.Cuit} se cargó correctamente" :
|
||||
$"Falló la carga del Cliente con el CUIT {t.Cuit}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// Captura cualquier excepción no prevista
|
||||
return $"Ocurrió un error inesperado: {ex.Message}";
|
||||
}
|
||||
}
|
||||
|
||||
override public string Eliminar(Cliente t)
|
||||
public string Eliminar(long cuit)
|
||||
{
|
||||
if (t == null) return "El Cliente es nulo fallo la carga";
|
||||
// Buscar el cliente por CUIT antes de eliminar
|
||||
var cliente = RepositorioClientes.Instance.Listar().FirstOrDefault(x => x.Cuit == cuit);
|
||||
if (cliente == null) return "El Cliente no existe";
|
||||
|
||||
return (RepositorioClientes.Instance.Del(t)) ?
|
||||
$"El Cliente {t.Nombre} se Elimino correctamente":
|
||||
$"Fallo la Eliminacion del Cliente {t.Nombre}";
|
||||
return (RepositorioClientes.Instance.Del(cliente)) ?
|
||||
$"El Cliente {cliente.Nombre} se eliminó correctamente" :
|
||||
$"Falló la eliminación del Cliente con el CUIT {cuit}";
|
||||
}
|
||||
|
||||
override public string Modificar(Cliente t)
|
||||
public string Modificar(Cliente t)
|
||||
{
|
||||
if (t == null) return "El Cliente es nulo fallo la carga";
|
||||
if (t == null) return "El Cliente es nulo, fallo la carga";
|
||||
|
||||
return (RepositorioClientes.Instance.Mod(t)) ?
|
||||
$"El Cliente {t.Nombre} se Modifico correctamente":
|
||||
$"Fallo la Modificacion del Cliente {t.Nombre}";
|
||||
return (RepositorioClientes.Instance.Mod(t)) ?
|
||||
$"El Cliente con el CUIT {t.Cuit} se modificó correctamente" :
|
||||
$"Falló la modificación del Cliente con el CUIT {t.Cuit}";
|
||||
}
|
||||
|
||||
public override ReadOnlyCollection<Cliente> Listar()
|
||||
public ReadOnlyCollection<Cliente> Listar()
|
||||
{
|
||||
return RepositorioClientes.Instance.Listar();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,38 +4,59 @@ using Modelo;
|
||||
|
||||
namespace Controladora
|
||||
{
|
||||
class ControladoraFacturas : ControladoraBase<Factura, ControladoraFacturas>
|
||||
public class ControladoraFacturas : Singleton<ControladoraFacturas>
|
||||
{
|
||||
public override string Añadir(Factura t)
|
||||
public string Añadir(Factura t)
|
||||
{
|
||||
if (t == null) return "El Factura es nulo fallo la carga";
|
||||
if (t == null) return "La Factura es nula, fallo la carga";
|
||||
|
||||
return (RepositorioFactura.Instance.Add(t)) ?
|
||||
$"El Factura {t.Id} se cargo correctamente":
|
||||
$"Fallo la carga del Factura {t.Id}";
|
||||
if (RepositorioFactura.Instance.ExistePorId(t.Id))
|
||||
{
|
||||
return $"La Factura con el ID {t.Id} ya existe";
|
||||
}
|
||||
|
||||
// Verificar si el cliente está seleccionado
|
||||
if (t.Cliente == null || t.Cliente.Cuit == 0)
|
||||
{
|
||||
return "Debe seleccionar un cliente antes de agregar la factura";
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
bool resultado = RepositorioFactura.Instance.Add(t);
|
||||
return resultado ?
|
||||
$"La Factura con el ID {t.Id} se cargó correctamente" :
|
||||
$"Falló la carga de la Factura con el ID {t.Id}";
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// Captura cualquier excepción no prevista
|
||||
return $"Ocurrió un error inesperado: {ex.Message}";
|
||||
}
|
||||
}
|
||||
|
||||
override public string Eliminar(Factura t)
|
||||
public string Eliminar(Factura t)
|
||||
{
|
||||
if (t == null) return "El Factura es nulo fallo la carga";
|
||||
if (t == null) return "La Factura es nula, fallo la carga";
|
||||
|
||||
return (RepositorioFactura.Instance.Del(t)) ?
|
||||
$"El Factura {t.Id} se Elimino correctamente":
|
||||
$"Fallo la Eliminacion del Factura {t.Id}";
|
||||
return (RepositorioFactura.Instance.Del(t)) ?
|
||||
$"La Factura con el ID {t.Id} se eliminó correctamente" :
|
||||
$"Falló la eliminación de la Factura con el ID {t.Id}";
|
||||
}
|
||||
|
||||
override public string Modificar(Factura t)
|
||||
public string Modificar(Factura t)
|
||||
{
|
||||
if (t == null) return "El Factura es nulo fallo la carga";
|
||||
if (t == null) return "La Factura es nula, fallo la carga";
|
||||
|
||||
return (RepositorioFactura.Instance.Mod(t)) ?
|
||||
$"El Factura {t.Id} se Modifico correctamente":
|
||||
$"Fallo la Modificacion del Factura {t.Id}";
|
||||
return (RepositorioFactura.Instance.Mod(t)) ?
|
||||
$"La Factura con el ID {t.Id} se modificó correctamente" :
|
||||
$"Falló la modificación de la Factura con el ID {t.Id}";
|
||||
}
|
||||
|
||||
public override ReadOnlyCollection<Factura> Listar()
|
||||
public ReadOnlyCollection<Factura> Listar()
|
||||
{
|
||||
return RepositorioFactura.Instance.Listar();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,34 +4,18 @@ using Modelo;
|
||||
|
||||
namespace Controladora
|
||||
{
|
||||
class ControladoraOrdenDeCompras : ControladoraBase<OrdenDeCompra, ControladoraOrdenDeCompras>
|
||||
public class ControladoraOrdenDeCompras : Singleton<ControladoraOrdenDeCompras>
|
||||
{
|
||||
public override string Añadir(OrdenDeCompra t)
|
||||
public string Añadir(OrdenDeCompra t)
|
||||
{
|
||||
if (t == null) return "El OrdenDeCompra es nulo fallo la carga";
|
||||
if (t.Proveedor == null) return "No se cargo el proveedor";
|
||||
|
||||
// checkea que los detalles sean validos
|
||||
if (ProductoCheck(t.MostrarDetalles())) return "Hay referencias a productos no existentes";
|
||||
|
||||
|
||||
return (RepositorioOrdenDeCompra.Instance.Add(t)) ?
|
||||
$"El OrdenDeCompra {t.Id} se cargo correctamente":
|
||||
$"Fallo la carga del OrdenDeCompra {t.Id}";
|
||||
}
|
||||
|
||||
private bool ProductoCheck(ReadOnlyCollection<DetalleOrdenDeCompra> ldetalles)
|
||||
{
|
||||
bool ret = false;
|
||||
var lproductos = RepositorioProductos.Instance.Listar();
|
||||
Parallel.ForEach(ldetalles, (ll) =>
|
||||
{
|
||||
var producto = lproductos.FirstOrDefault(x => x.Id == ll.Producto.Id);
|
||||
ret = (producto == null) ? true : false;
|
||||
|
||||
});
|
||||
return ret;
|
||||
}
|
||||
override public string Eliminar(OrdenDeCompra t)
|
||||
public string Eliminar(OrdenDeCompra t)
|
||||
{
|
||||
if (t == null) return "El OrdenDeCompra es nulo fallo la carga";
|
||||
|
||||
@@ -40,7 +24,7 @@ namespace Controladora
|
||||
$"Fallo la Eliminacion del OrdenDeCompra {t.Id}";
|
||||
}
|
||||
|
||||
override public string Modificar(OrdenDeCompra t)
|
||||
public string Modificar(OrdenDeCompra t)
|
||||
{
|
||||
if (t == null) return "El OrdenDeCompra es nulo fallo la carga";
|
||||
|
||||
@@ -49,7 +33,7 @@ namespace Controladora
|
||||
$"Fallo la Modificacion del OrdenDeCompra {t.Id}";
|
||||
}
|
||||
|
||||
public override ReadOnlyCollection<OrdenDeCompra> Listar()
|
||||
public ReadOnlyCollection<OrdenDeCompra> Listar()
|
||||
{
|
||||
return RepositorioOrdenDeCompra.Instance.Listar();
|
||||
}
|
||||
|
||||
@@ -4,9 +4,9 @@ using Modelo;
|
||||
|
||||
namespace Controladora
|
||||
{
|
||||
class ControladoraPedidoDePresupuestos : ControladoraBase<PedidoDePresupuesto, ControladoraPedidoDePresupuestos>
|
||||
public class ControladoraPedidoDePresupuestos : Singleton<ControladoraPedidoDePresupuestos>
|
||||
{
|
||||
public override string Añadir(PedidoDePresupuesto t)
|
||||
public string Añadir(PedidoDePresupuesto t)
|
||||
{
|
||||
if (t == null) return "El PedidoDePresupuesto es nulo fallo la carga";
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Controladora
|
||||
$"Fallo la carga del PedidoDePresupuesto {t.Id}";
|
||||
}
|
||||
|
||||
override public string Eliminar(PedidoDePresupuesto t)
|
||||
public string Eliminar(PedidoDePresupuesto t)
|
||||
{
|
||||
if (t == null) return "El PedidoDePresupuesto es nulo fallo la carga";
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Controladora
|
||||
$"Fallo la Eliminacion del PedidoDePresupuesto {t.Id}";
|
||||
}
|
||||
|
||||
override public string Modificar(PedidoDePresupuesto t)
|
||||
public string Modificar(PedidoDePresupuesto t)
|
||||
{
|
||||
if (t == null) return "El PedidoDePresupuesto es nulo fallo la carga";
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace Controladora
|
||||
$"Fallo la Modificacion del PedidoDePresupuesto {t.Id}";
|
||||
}
|
||||
|
||||
public override ReadOnlyCollection<PedidoDePresupuesto> Listar()
|
||||
public ReadOnlyCollection<PedidoDePresupuesto> Listar()
|
||||
{
|
||||
return RepositorioPedidoDePresupuesto.Instance.Listar();
|
||||
}
|
||||
|
||||
@@ -4,9 +4,9 @@ using Modelo;
|
||||
|
||||
namespace Controladora
|
||||
{
|
||||
class ControladoraPresupuestos : ControladoraBase<Presupuesto, ControladoraPresupuestos>
|
||||
public class ControladoraPresupuestos : Singleton<ControladoraPresupuestos>
|
||||
{
|
||||
public override string Añadir(Presupuesto t)
|
||||
public string Añadir(Presupuesto t)
|
||||
{
|
||||
if (t == null) return "El Presupuesto es nulo fallo la carga";
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Controladora
|
||||
$"Fallo la carga del Presupuesto {t.Id}";
|
||||
}
|
||||
|
||||
override public string Eliminar(Presupuesto t)
|
||||
public string Eliminar(Presupuesto t)
|
||||
{
|
||||
if (t == null) return "El Presupuesto es nulo fallo la carga";
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Controladora
|
||||
$"Fallo la Eliminacion del Presupuesto {t.Id}";
|
||||
}
|
||||
|
||||
override public string Modificar(Presupuesto t)
|
||||
public string Modificar(Presupuesto t)
|
||||
{
|
||||
if (t == null) return "El Presupuesto es nulo fallo la carga";
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace Controladora
|
||||
$"Fallo la Modificacion del Presupuesto {t.Id}";
|
||||
}
|
||||
|
||||
public override ReadOnlyCollection<Presupuesto> Listar()
|
||||
public ReadOnlyCollection<Presupuesto> Listar()
|
||||
{
|
||||
return RepositorioPresupuesto.Instance.Listar();
|
||||
}
|
||||
|
||||
@@ -4,9 +4,9 @@ using Modelo;
|
||||
|
||||
namespace Controladora
|
||||
{
|
||||
class ControladoraProductos : ControladoraBase<Producto, ControladoraProductos>
|
||||
public class ControladoraProductos : Singleton<ControladoraProductos>
|
||||
{
|
||||
public override string Añadir(Producto t)
|
||||
public string Añadir(Producto t)
|
||||
{
|
||||
if (t == null) return "El Producto es nulo fallo la carga";
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Controladora
|
||||
$"Fallo la carga del Producto {t.Nombre}";
|
||||
}
|
||||
|
||||
public override string Eliminar(Producto t)
|
||||
public string Eliminar(Producto t)
|
||||
{
|
||||
if (t == null) return "El Producto es nulo fallo la carga";
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Controladora
|
||||
$"Fallo la Eliminacion del Producto {t.Nombre}";
|
||||
}
|
||||
|
||||
public override string Modificar(Producto t)
|
||||
public string Modificar(Producto t)
|
||||
{
|
||||
if (t == null) return "El Producto es nulo fallo la carga";
|
||||
|
||||
@@ -33,9 +33,11 @@ namespace Controladora
|
||||
$"Fallo la Modificacion del Producto {t.Nombre}";
|
||||
}
|
||||
|
||||
public override ReadOnlyCollection<Producto> Listar()
|
||||
public ReadOnlyCollection<Producto> Listar()
|
||||
{
|
||||
return RepositorioProductos.Instance.Listar();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -4,38 +4,47 @@ using Modelo;
|
||||
|
||||
namespace Controladora
|
||||
{
|
||||
class ControladoraProveedores : ControladoraBase<Proveedor, ControladoraProveedores>
|
||||
public class ControladoraProveedores : Singleton<ControladoraProveedores>
|
||||
{
|
||||
public override string Añadir(Proveedor t)
|
||||
public string Añadir(Proveedor t)
|
||||
{
|
||||
if (t == null) return "El Proveedor es nulo fallo la carga";
|
||||
|
||||
return (RepositorioProveedor.Instance.Add(t)) ?
|
||||
$"El Proveedor {t.Nombre} se cargo correctamente":
|
||||
$"Fallo la carga del Proveedor {t.Nombre}";
|
||||
try
|
||||
{
|
||||
return RepositorioProveedor.Instance.Add(t) ?
|
||||
$"El Proveedor {t.Nombre} se cargó correctamente" :
|
||||
$"Falló la carga del Proveedor {t.Nombre}";
|
||||
}
|
||||
catch (InvalidOperationException ex)
|
||||
{
|
||||
return ex.Message; // Captura la excepción y muestra el mensaje adecuado
|
||||
}
|
||||
}
|
||||
|
||||
public override string Eliminar(Proveedor t)
|
||||
public string Eliminar(long t)
|
||||
{
|
||||
if (t == null) return "El Proveedor es nulo fallo la carga";
|
||||
var proveedor = RepositorioProveedor.Instance.Listar().FirstOrDefault(x => x.Cuit == t);
|
||||
|
||||
return (RepositorioProveedor.Instance.Del(t)) ?
|
||||
$"El Proveedor {t.Nombre} se Elimino correctamente":
|
||||
$"Fallo la Eliminacion del Proveedor {t.Nombre}";
|
||||
if (proveedor == null) return "El Proveedor es nulo fallo la baja";
|
||||
|
||||
return (RepositorioProveedor.Instance.Del(proveedor)) ?
|
||||
$"El Proveedor {proveedor.Nombre} se eliminó correctamente" :
|
||||
$"Falló la eliminación del Proveedor {t}";
|
||||
}
|
||||
|
||||
public override string Modificar(Proveedor t)
|
||||
public string Modificar(Proveedor t)
|
||||
{
|
||||
if (t == null) return "El Proveedor es nulo fallo la carga";
|
||||
if (t == null) return "El Proveedor es nulo fallo la modificación";
|
||||
|
||||
return (RepositorioProveedor.Instance.Mod(t)) ?
|
||||
$"El Proveedor {t.Nombre} se Modifico correctamente":
|
||||
$"Fallo la Modificacion del Proveedor {t.Nombre}";
|
||||
return (RepositorioProveedor.Instance.Mod(t)) ?
|
||||
$"El Proveedor {t.Nombre} se modificó correctamente" :
|
||||
$"Falló la modificación del Proveedor {t.Nombre}";
|
||||
}
|
||||
|
||||
public override ReadOnlyCollection<Proveedor> Listar()
|
||||
public ReadOnlyCollection<Proveedor> Listar()
|
||||
{
|
||||
return RepositorioProveedor.Instance.Listar();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ using Modelo;
|
||||
|
||||
namespace Controladora
|
||||
{
|
||||
class ControladoraRemito : ControladoraBase<Remito, ControladoraRemito>
|
||||
public class ControladoraRemito : Singleton<ControladoraRemito>
|
||||
{
|
||||
public override ReadOnlyCollection<Remito> Listar()
|
||||
public ReadOnlyCollection<Remito> Listar()
|
||||
{
|
||||
return RepositorioRemito.Instance.Listar();
|
||||
}
|
||||
|
||||
override public string Añadir(Remito t)
|
||||
public string Añadir(Remito t)
|
||||
{
|
||||
if (t == null) return "El Remito es nulo fallo la carga";
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Controladora
|
||||
$"Fallo la carga del remito {t.Id}";
|
||||
|
||||
}
|
||||
override public string Modificar(Remito t)
|
||||
public string Modificar(Remito t)
|
||||
{
|
||||
if (t == null) return "El Remito es nulo fallo la carga";
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace Controladora
|
||||
$"Fallo la carga del remito {t.Id}";
|
||||
|
||||
}
|
||||
override public string Eliminar(Remito t)
|
||||
public string Eliminar(Remito t)
|
||||
{
|
||||
if (t == null) return "El Remito es nulo fallo la carga";
|
||||
|
||||
|
||||
16
Controladora/Singleton.cs
Normal file
16
Controladora/Singleton.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Controladora
|
||||
{
|
||||
public class Singleton<T> where T : new()
|
||||
{
|
||||
// Singleton thread-safe por si quiero usar "Parallel"
|
||||
private static T instance = new T();
|
||||
public static T Instance
|
||||
{
|
||||
get
|
||||
{
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -7,9 +7,26 @@
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v6.0": {
|
||||
"Controladora/1.0.0": {
|
||||
"dependencies": {
|
||||
"Entidades": "1.0.0",
|
||||
"Modelo": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"Controladora.dll": {}
|
||||
}
|
||||
},
|
||||
"Entidades/1.0.0": {
|
||||
"runtime": {
|
||||
"Entidades.dll": {}
|
||||
}
|
||||
},
|
||||
"Modelo/1.0.0": {
|
||||
"dependencies": {
|
||||
"Entidades": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"Modelo.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -18,6 +35,16 @@
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Entidades/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Modelo/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,25 +1,27 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/fede/proyectos/Final_OOP/Controladora/Controladora.csproj": {}
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Controladora\\Controladora.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/fede/proyectos/Final_OOP/Controladora/Controladora.csproj": {
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Controladora\\Controladora.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/fede/proyectos/Final_OOP/Controladora/Controladora.csproj",
|
||||
"projectUniqueName": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Controladora\\Controladora.csproj",
|
||||
"projectName": "Controladora",
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Controladora/Controladora.csproj",
|
||||
"packagesPath": "/home/fede/.nuget/packages/",
|
||||
"outputPath": "/home/fede/proyectos/Final_OOP/Controladora/obj/",
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Controladora\\Controladora.csproj",
|
||||
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Controladora\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/fede/.nuget/NuGet/NuGet.Config"
|
||||
"C:\\Users\\fedpo\\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": {},
|
||||
"https://fedesrv.ddns.net/git/api/packages/fede/nuget/index.json": {}
|
||||
},
|
||||
@@ -27,11 +29,11 @@
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {
|
||||
"/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj": {
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj"
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj": {
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj"
|
||||
},
|
||||
"/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj": {
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj"
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj": {
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -45,16 +47,6 @@
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"dependencies": {
|
||||
"Emailer": {
|
||||
"target": "Package",
|
||||
"version": "[1.0.0, )"
|
||||
},
|
||||
"webhookSharp": {
|
||||
"target": "Package",
|
||||
"version": "[1.0.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
@@ -66,41 +58,33 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/var/run/host/usr/share/dotnet/sdk/8.0.106/RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj": {
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj",
|
||||
"projectUniqueName": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj",
|
||||
"projectName": "Entidades",
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj",
|
||||
"packagesPath": "/home/fede/.nuget/packages/",
|
||||
"outputPath": "/home/fede/proyectos/Final_OOP/Entidades/obj/",
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj",
|
||||
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/fede/.nuget/NuGet/NuGet.Config"
|
||||
"C:\\Users\\fedpo\\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": {},
|
||||
"https://fedesrv.ddns.net/git/api/packages/fede/nuget/index.json": {}
|
||||
},
|
||||
@@ -130,41 +114,33 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/var/run/host/usr/share/dotnet/sdk/8.0.106/RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj": {
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj",
|
||||
"projectUniqueName": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj",
|
||||
"projectName": "Modelo",
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj",
|
||||
"packagesPath": "/home/fede/.nuget/packages/",
|
||||
"outputPath": "/home/fede/proyectos/Final_OOP/Modelo/obj/",
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj",
|
||||
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/fede/.nuget/NuGet/NuGet.Config"
|
||||
"C:\\Users\\fedpo\\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": {},
|
||||
"https://fedesrv.ddns.net/git/api/packages/fede/nuget/index.json": {}
|
||||
},
|
||||
@@ -172,8 +148,8 @@
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {
|
||||
"/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj": {
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj"
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj": {
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -198,22 +174,12 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/var/run/host/usr/share/dotnet/sdk/8.0.106/RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,17 +4,12 @@
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/fede/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/fede/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\fedpo\.nuget\packages\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.1</NuGetToolVersion>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.6.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/home/fede/.nuget/packages/" />
|
||||
<SourceRoot Include="C:\Users\fedpo\.nuget\packages\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<PkgNewtonsoft_Json Condition=" '$(PkgNewtonsoft_Json)' == '' ">/home/fede/.nuget/packages/newtonsoft.json/10.0.1</PkgNewtonsoft_Json>
|
||||
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">/home/fede/.nuget/packages/microsoft.entityframeworkcore.tools/2.0.2</PkgMicrosoft_EntityFrameworkCore_Tools>
|
||||
<PkgMicrosoft_CodeAnalysis_Analyzers Condition=" '$(PkgMicrosoft_CodeAnalysis_Analyzers)' == '' ">/home/fede/.nuget/packages/microsoft.codeanalysis.analyzers/1.1.0</PkgMicrosoft_CodeAnalysis_Analyzers>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -1,6 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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.
|
||||
@@ -13,10 +14,10 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Controladora")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+04e6a0b9bb4746be80e8ddf020dfc5f1212f5ce4")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Controladora")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Controladora")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generado por la clase WriteCodeFragment de MSBuild.
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
d7e6838ab345d847cad4078575babed33718cf28a47b8f27d6c4be1f7f7e97a7
|
||||
f121c5eeefa8c5e39430715ad45c0dbadc6c8ad0
|
||||
|
||||
@@ -8,6 +8,4 @@ build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Controladora
|
||||
build_property.ProjectDir = /home/fede/proyectos/Final_OOP/Controladora/
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.ProjectDir = C:\Users\fedpo\Downloads\Final\Final\Controladora\
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
a8e0260e0db6be55f0b0f28b550784baab05fd07
|
||||
57f080c451434127a4f00cc492b37e2bfd251cea
|
||||
|
||||
@@ -13,3 +13,88 @@ C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\ref\Controladora.
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controladora.dll
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||
C:\Users\Nacho\source\repos\Final\Controladora\obj\Debug\net6.0\Controladora.dll
|
||||
C:\Users\Nacho\source\repos\Final\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
||||
C:\Users\Nacho\source\repos\Final\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.dll
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Controladora.deps.json
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Controladora.dll
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Controladora.pdb
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Entidades.dll
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Modelo.dll
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Modelo.pdb
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\bin\Debug\net6.0\Entidades.pdb
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.csproj.AssemblyReference.cache
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfoInputs.cache
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfo.cs
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\Controla.1EE7A4DA.Up2Date
|
||||
C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\obj\Debug\net6.0\ref\Controladora.dll
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\bin\Debug\net6.0\Controladora.deps.json
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\bin\Debug\net6.0\Controladora.dll
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\bin\Debug\net6.0\Controladora.pdb
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\bin\Debug\net6.0\Entidades.dll
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\bin\Debug\net6.0\Modelo.dll
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\bin\Debug\net6.0\Modelo.pdb
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\bin\Debug\net6.0\Entidades.pdb
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.csproj.AssemblyReference.cache
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfoInputs.cache
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfo.cs
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.csproj.CoreCompileInputs.cache
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.csproj.CopyComplete
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.dll
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||
C:\Users\fedpo\source\repos\Final_OOP\Controladora\obj\Debug\net6.0\ref\Controladora.dll
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\bin\Debug\net6.0\Controladora.deps.json
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\bin\Debug\net6.0\Controladora.dll
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\bin\Debug\net6.0\Controladora.pdb
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\bin\Debug\net6.0\Entidades.dll
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\bin\Debug\net6.0\Modelo.dll
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\bin\Debug\net6.0\Modelo.pdb
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\bin\Debug\net6.0\Entidades.pdb
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controladora.csproj.AssemblyReference.cache
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controladora.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfoInputs.cache
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfo.cs
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controladora.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\Controla.1EE7A4DA.Up2Date
|
||||
C:\Users\Nacho\Desktop\Final\Controladora\obj\Debug\net6.0\ref\Controladora.dll
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\bin\Debug\net6.0\Controladora.deps.json
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\bin\Debug\net6.0\Controladora.dll
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\bin\Debug\net6.0\Controladora.pdb
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\bin\Debug\net6.0\Entidades.dll
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\bin\Debug\net6.0\Modelo.dll
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\bin\Debug\net6.0\Modelo.pdb
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\bin\Debug\net6.0\Entidades.pdb
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\obj\Debug\net6.0\Controladora.csproj.AssemblyReference.cache
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\obj\Debug\net6.0\Controladora.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfoInputs.cache
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfo.cs
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\obj\Debug\net6.0\Controladora.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\obj\Debug\net6.0\Controla.1EE7A4DA.Up2Date
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\obj\Debug\net6.0\Controladora.dll
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||
C:\Users\Nacho\Desktop\ASDDD\Final\Controladora\obj\Debug\net6.0\ref\Controladora.dll
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\bin\Debug\net6.0\Controladora.deps.json
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\bin\Debug\net6.0\Controladora.dll
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\bin\Debug\net6.0\Controladora.pdb
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\bin\Debug\net6.0\Entidades.dll
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\bin\Debug\net6.0\Modelo.dll
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\bin\Debug\net6.0\Modelo.pdb
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\bin\Debug\net6.0\Entidades.pdb
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\obj\Debug\net6.0\Controladora.csproj.AssemblyReference.cache
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\obj\Debug\net6.0\Controladora.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfoInputs.cache
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\obj\Debug\net6.0\Controladora.AssemblyInfo.cs
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\obj\Debug\net6.0\Controladora.csproj.CoreCompileInputs.cache
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\obj\Debug\net6.0\Controladora.csproj.CopyComplete
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\obj\Debug\net6.0\Controladora.dll
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||
C:\Users\fedpo\Downloads\Final\Final\Controladora\obj\Debug\net6.0\ref\Controladora.dll
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
// Este código fue generado por una herramienta.
|
||||
// Versión de runtime:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
|
||||
// se vuelve a generar el código.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -14,10 +14,10 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Controladora")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+abfd18e86f40a98925507ec03c2e8832ee47a3eb")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Controladora")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Controladora")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
// Generado por la clase WriteCodeFragment de MSBuild.
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
1a11c83cae779abe705573d149b53d62cfc015f0
|
||||
1300c7ac552248a2e20058b6f2d7f7eb38539ca91bc222d9d6bfd7bbcb24e9ab
|
||||
|
||||
@@ -8,4 +8,6 @@ build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Controladora
|
||||
build_property.ProjectDir = C:\Users\fedpo\source\repos\Final_OOP\Controladora\
|
||||
build_property.ProjectDir = C:\Users\Nacho\source\repos\Final\Controladora\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,302 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "Vs+HTdq8Gqw56GHRk+ivU0JJ/5n6ghHJP2CKgIV+gDHL9rO3WgHHPoz0OWJjyozNRvnYskqZVibjHcSALkg9JQ==",
|
||||
"dgSpecHash": "7p6sil6BdpeseYcwxc5SCaMq8T52JX3Gb+/veDRUiSWMCYx7lYCBfkail6lsPgISGkw+p3jfoipb6TSmLcP1ZA==",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/fede/proyectos/Final_OOP/Controladora/Controladora.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/fede/.nuget/packages/emailer/1.0.0/emailer.1.0.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/libuv/1.10.0/libuv.1.10.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.applicationinsights/2.4.0/microsoft.applicationinsights.2.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.applicationinsights.aspnetcore/2.1.1/microsoft.applicationinsights.aspnetcore.2.1.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.applicationinsights.dependencycollector/2.4.1/microsoft.applicationinsights.dependencycollector.2.4.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore/2.0.2/microsoft.aspnetcore.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.all/2.0.7/microsoft.aspnetcore.all.2.0.7.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.antiforgery/2.0.2/microsoft.aspnetcore.antiforgery.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.applicationinsights.hostingstartup/2.0.2/microsoft.aspnetcore.applicationinsights.hostingstartup.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authentication/2.0.3/microsoft.aspnetcore.authentication.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authentication.abstractions/2.0.2/microsoft.aspnetcore.authentication.abstractions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authentication.cookies/2.0.3/microsoft.aspnetcore.authentication.cookies.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authentication.core/2.0.2/microsoft.aspnetcore.authentication.core.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authentication.facebook/2.0.3/microsoft.aspnetcore.authentication.facebook.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authentication.google/2.0.3/microsoft.aspnetcore.authentication.google.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authentication.jwtbearer/2.0.3/microsoft.aspnetcore.authentication.jwtbearer.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authentication.microsoftaccount/2.0.3/microsoft.aspnetcore.authentication.microsoftaccount.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authentication.oauth/2.0.3/microsoft.aspnetcore.authentication.oauth.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authentication.openidconnect/2.0.3/microsoft.aspnetcore.authentication.openidconnect.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authentication.twitter/2.0.3/microsoft.aspnetcore.authentication.twitter.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authorization/2.0.3/microsoft.aspnetcore.authorization.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.authorization.policy/2.0.3/microsoft.aspnetcore.authorization.policy.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.azureappservices.hostingstartup/2.0.2/microsoft.aspnetcore.azureappservices.hostingstartup.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.azureappservicesintegration/2.0.2/microsoft.aspnetcore.azureappservicesintegration.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.cookiepolicy/2.0.3/microsoft.aspnetcore.cookiepolicy.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.cors/2.0.2/microsoft.aspnetcore.cors.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.cryptography.internal/2.0.2/microsoft.aspnetcore.cryptography.internal.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.cryptography.keyderivation/2.0.2/microsoft.aspnetcore.cryptography.keyderivation.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.dataprotection/2.0.2/microsoft.aspnetcore.dataprotection.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.dataprotection.abstractions/2.0.2/microsoft.aspnetcore.dataprotection.abstractions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.dataprotection.azurestorage/2.0.2/microsoft.aspnetcore.dataprotection.azurestorage.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.dataprotection.extensions/2.0.2/microsoft.aspnetcore.dataprotection.extensions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.diagnostics/2.0.2/microsoft.aspnetcore.diagnostics.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.diagnostics.abstractions/2.0.2/microsoft.aspnetcore.diagnostics.abstractions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.diagnostics.entityframeworkcore/2.0.2/microsoft.aspnetcore.diagnostics.entityframeworkcore.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.hosting/2.0.2/microsoft.aspnetcore.hosting.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.hosting.abstractions/2.0.2/microsoft.aspnetcore.hosting.abstractions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.hosting.server.abstractions/2.0.2/microsoft.aspnetcore.hosting.server.abstractions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.html.abstractions/2.0.1/microsoft.aspnetcore.html.abstractions.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.http/2.0.2/microsoft.aspnetcore.http.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.http.abstractions/2.0.2/microsoft.aspnetcore.http.abstractions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.http.extensions/2.0.2/microsoft.aspnetcore.http.extensions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.http.features/2.0.2/microsoft.aspnetcore.http.features.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.httpoverrides/2.0.2/microsoft.aspnetcore.httpoverrides.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.identity/2.0.2/microsoft.aspnetcore.identity.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.identity.entityframeworkcore/2.0.2/microsoft.aspnetcore.identity.entityframeworkcore.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.jsonpatch/2.0.0/microsoft.aspnetcore.jsonpatch.2.0.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.localization/2.0.2/microsoft.aspnetcore.localization.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.localization.routing/2.0.2/microsoft.aspnetcore.localization.routing.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.middlewareanalysis/2.0.2/microsoft.aspnetcore.middlewareanalysis.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc/2.0.3/microsoft.aspnetcore.mvc.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.abstractions/2.0.3/microsoft.aspnetcore.mvc.abstractions.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.apiexplorer/2.0.3/microsoft.aspnetcore.mvc.apiexplorer.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.core/2.0.3/microsoft.aspnetcore.mvc.core.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.cors/2.0.3/microsoft.aspnetcore.mvc.cors.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.dataannotations/2.0.3/microsoft.aspnetcore.mvc.dataannotations.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.formatters.json/2.0.3/microsoft.aspnetcore.mvc.formatters.json.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.formatters.xml/2.0.3/microsoft.aspnetcore.mvc.formatters.xml.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.localization/2.0.3/microsoft.aspnetcore.mvc.localization.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.razor/2.0.3/microsoft.aspnetcore.mvc.razor.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.razor.extensions/2.0.2/microsoft.aspnetcore.mvc.razor.extensions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.razor.viewcompilation/2.0.3/microsoft.aspnetcore.mvc.razor.viewcompilation.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.razorpages/2.0.3/microsoft.aspnetcore.mvc.razorpages.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.taghelpers/2.0.3/microsoft.aspnetcore.mvc.taghelpers.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.mvc.viewfeatures/2.0.3/microsoft.aspnetcore.mvc.viewfeatures.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.nodeservices/2.0.3/microsoft.aspnetcore.nodeservices.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.owin/2.0.2/microsoft.aspnetcore.owin.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.razor/2.0.2/microsoft.aspnetcore.razor.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.razor.language/2.0.2/microsoft.aspnetcore.razor.language.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.razor.runtime/2.0.2/microsoft.aspnetcore.razor.runtime.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.responsecaching/2.0.2/microsoft.aspnetcore.responsecaching.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.responsecaching.abstractions/2.0.2/microsoft.aspnetcore.responsecaching.abstractions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.responsecompression/2.0.2/microsoft.aspnetcore.responsecompression.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.rewrite/2.0.2/microsoft.aspnetcore.rewrite.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.routing/2.0.2/microsoft.aspnetcore.routing.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.routing.abstractions/2.0.2/microsoft.aspnetcore.routing.abstractions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.server.httpsys/2.0.3/microsoft.aspnetcore.server.httpsys.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.server.iisintegration/2.0.2/microsoft.aspnetcore.server.iisintegration.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.server.kestrel/2.0.2/microsoft.aspnetcore.server.kestrel.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.server.kestrel.core/2.0.2/microsoft.aspnetcore.server.kestrel.core.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.server.kestrel.https/2.0.2/microsoft.aspnetcore.server.kestrel.https.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.server.kestrel.transport.abstractions/2.0.2/microsoft.aspnetcore.server.kestrel.transport.abstractions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.server.kestrel.transport.libuv/2.0.2/microsoft.aspnetcore.server.kestrel.transport.libuv.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.session/2.0.2/microsoft.aspnetcore.session.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.spaservices/2.0.3/microsoft.aspnetcore.spaservices.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.staticfiles/2.0.2/microsoft.aspnetcore.staticfiles.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.websockets/2.0.2/microsoft.aspnetcore.websockets.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.webutilities/2.0.2/microsoft.aspnetcore.webutilities.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.azure.keyvault/2.3.2/microsoft.azure.keyvault.2.3.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.azure.keyvault.webkey/2.0.7/microsoft.azure.keyvault.webkey.2.0.7.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.codeanalysis.analyzers/1.1.0/microsoft.codeanalysis.analyzers.1.1.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.codeanalysis.common/2.3.1/microsoft.codeanalysis.common.2.3.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.codeanalysis.csharp/2.3.1/microsoft.codeanalysis.csharp.2.3.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.codeanalysis.razor/2.0.2/microsoft.codeanalysis.razor.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.csharp/4.4.0/microsoft.csharp.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.data.edm/5.8.2/microsoft.data.edm.5.8.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.data.odata/5.8.2/microsoft.data.odata.5.8.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.data.sqlite/2.0.1/microsoft.data.sqlite.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.data.sqlite.core/2.0.1/microsoft.data.sqlite.core.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.dotnet.platformabstractions/2.0.3/microsoft.dotnet.platformabstractions.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.entityframeworkcore/2.0.2/microsoft.entityframeworkcore.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.entityframeworkcore.design/2.0.2/microsoft.entityframeworkcore.design.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.entityframeworkcore.inmemory/2.0.2/microsoft.entityframeworkcore.inmemory.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.entityframeworkcore.relational/2.0.2/microsoft.entityframeworkcore.relational.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.entityframeworkcore.sqlite/2.0.2/microsoft.entityframeworkcore.sqlite.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.entityframeworkcore.sqlite.core/2.0.2/microsoft.entityframeworkcore.sqlite.core.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.entityframeworkcore.sqlserver/2.0.2/microsoft.entityframeworkcore.sqlserver.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.entityframeworkcore.tools/2.0.2/microsoft.entityframeworkcore.tools.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.caching.abstractions/2.0.1/microsoft.extensions.caching.abstractions.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.caching.memory/2.0.1/microsoft.extensions.caching.memory.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.caching.redis/2.0.1/microsoft.extensions.caching.redis.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.caching.sqlserver/2.0.1/microsoft.extensions.caching.sqlserver.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.configuration/2.0.1/microsoft.extensions.configuration.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.configuration.abstractions/2.0.1/microsoft.extensions.configuration.abstractions.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.configuration.azurekeyvault/2.0.1/microsoft.extensions.configuration.azurekeyvault.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.configuration.binder/2.0.1/microsoft.extensions.configuration.binder.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.configuration.commandline/2.0.1/microsoft.extensions.configuration.commandline.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.configuration.environmentvariables/2.0.1/microsoft.extensions.configuration.environmentvariables.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.configuration.fileextensions/2.0.1/microsoft.extensions.configuration.fileextensions.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.configuration.ini/2.0.1/microsoft.extensions.configuration.ini.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.configuration.json/2.0.1/microsoft.extensions.configuration.json.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.configuration.usersecrets/2.0.1/microsoft.extensions.configuration.usersecrets.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.configuration.xml/2.0.1/microsoft.extensions.configuration.xml.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.dependencyinjection/2.0.0/microsoft.extensions.dependencyinjection.2.0.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.dependencyinjection.abstractions/2.0.0/microsoft.extensions.dependencyinjection.abstractions.2.0.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.dependencymodel/2.0.3/microsoft.extensions.dependencymodel.2.0.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.diagnosticadapter/2.0.1/microsoft.extensions.diagnosticadapter.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.fileproviders.abstractions/2.0.1/microsoft.extensions.fileproviders.abstractions.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.fileproviders.composite/2.0.1/microsoft.extensions.fileproviders.composite.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.fileproviders.embedded/2.0.1/microsoft.extensions.fileproviders.embedded.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.fileproviders.physical/2.0.1/microsoft.extensions.fileproviders.physical.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.filesystemglobbing/2.0.1/microsoft.extensions.filesystemglobbing.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.hosting.abstractions/2.0.2/microsoft.extensions.hosting.abstractions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.identity.core/2.0.2/microsoft.extensions.identity.core.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.identity.stores/2.0.2/microsoft.extensions.identity.stores.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.localization/2.0.2/microsoft.extensions.localization.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.localization.abstractions/2.0.2/microsoft.extensions.localization.abstractions.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.logging/2.0.1/microsoft.extensions.logging.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.logging.abstractions/2.0.1/microsoft.extensions.logging.abstractions.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.logging.azureappservices/2.0.1/microsoft.extensions.logging.azureappservices.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.logging.configuration/2.0.1/microsoft.extensions.logging.configuration.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.logging.console/2.0.1/microsoft.extensions.logging.console.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.logging.debug/2.0.1/microsoft.extensions.logging.debug.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.logging.eventsource/2.0.1/microsoft.extensions.logging.eventsource.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.logging.tracesource/2.0.1/microsoft.extensions.logging.tracesource.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.objectpool/2.0.0/microsoft.extensions.objectpool.2.0.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.options/2.0.1/microsoft.extensions.options.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.options.configurationextensions/2.0.1/microsoft.extensions.options.configurationextensions.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.platformabstractions/1.1.0/microsoft.extensions.platformabstractions.1.1.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.primitives/2.0.0/microsoft.extensions.primitives.2.0.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.extensions.webencoders/2.0.1/microsoft.extensions.webencoders.2.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.identitymodel.clients.activedirectory/3.14.1/microsoft.identitymodel.clients.activedirectory.3.14.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.identitymodel.logging/1.1.4/microsoft.identitymodel.logging.1.1.4.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.identitymodel.protocols/2.1.4/microsoft.identitymodel.protocols.2.1.4.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.identitymodel.protocols.openidconnect/2.1.4/microsoft.identitymodel.protocols.openidconnect.2.1.4.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.identitymodel.tokens/5.1.4/microsoft.identitymodel.tokens.5.1.4.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.net.http.headers/2.0.2/microsoft.net.http.headers.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.netcore.platforms/2.0.0/microsoft.netcore.platforms.2.0.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.netcore.targets/1.1.0/microsoft.netcore.targets.1.1.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.rest.clientruntime/2.3.8/microsoft.rest.clientruntime.2.3.8.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.rest.clientruntime.azure/3.3.7/microsoft.rest.clientruntime.azure.3.3.7.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.visualstudio.web.browserlink/2.0.2/microsoft.visualstudio.web.browserlink.2.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.win32.primitives/4.3.0/microsoft.win32.primitives.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.win32.registry/4.4.0/microsoft.win32.registry.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/netstandard.library/1.6.1/netstandard.library.1.6.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/newtonsoft.json/10.0.1/newtonsoft.json.10.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/newtonsoft.json.bson/1.0.1/newtonsoft.json.bson.1.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/remotion.linq/2.1.1/remotion.linq.2.1.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.native.system/4.3.0/runtime.native.system.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.native.system.data.sqlclient.sni/4.4.0/runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.native.system.io.compression/4.3.0/runtime.native.system.io.compression.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.native.system.net.http/4.3.0/runtime.native.system.net.http.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.native.system.net.security/4.3.0/runtime.native.system.net.security.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.native.system.security.cryptography.apple/4.3.0/runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.native.system.security.cryptography.openssl/4.3.0/runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple/4.3.0/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.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",
|
||||
"/home/fede/.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",
|
||||
"/home/fede/.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",
|
||||
"/home/fede/.nuget/packages/sqlitepclraw.bundle_green/1.1.7/sqlitepclraw.bundle_green.1.1.7.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/sqlitepclraw.core/1.1.7/sqlitepclraw.core.1.1.7.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/sqlitepclraw.lib.e_sqlite3.linux/1.1.7/sqlitepclraw.lib.e_sqlite3.linux.1.1.7.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/sqlitepclraw.lib.e_sqlite3.osx/1.1.7/sqlitepclraw.lib.e_sqlite3.osx.1.1.7.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/sqlitepclraw.lib.e_sqlite3.v110_xp/1.1.7/sqlitepclraw.lib.e_sqlite3.v110_xp.1.1.7.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/sqlitepclraw.provider.e_sqlite3.netstandard11/1.1.7/sqlitepclraw.provider.e_sqlite3.netstandard11.1.1.7.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/stackexchange.redis.strongname/1.2.4/stackexchange.redis.strongname.1.2.4.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.appcontext/4.3.0/system.appcontext.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.buffers/4.4.0/system.buffers.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.collections/4.3.0/system.collections.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.collections.concurrent/4.3.0/system.collections.concurrent.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.collections.immutable/1.4.0/system.collections.immutable.1.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.collections.nongeneric/4.3.0/system.collections.nongeneric.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.collections.specialized/4.3.0/system.collections.specialized.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.componentmodel/4.3.0/system.componentmodel.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.componentmodel.annotations/4.4.0/system.componentmodel.annotations.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.componentmodel.primitives/4.3.0/system.componentmodel.primitives.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.componentmodel.typeconverter/4.3.0/system.componentmodel.typeconverter.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.console/4.3.0/system.console.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.data.sqlclient/4.4.3/system.data.sqlclient.4.4.3.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.diagnostics.contracts/4.3.0/system.diagnostics.contracts.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.diagnostics.debug/4.3.0/system.diagnostics.debug.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.diagnostics.diagnosticsource/4.4.1/system.diagnostics.diagnosticsource.4.4.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.diagnostics.fileversioninfo/4.3.0/system.diagnostics.fileversioninfo.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.diagnostics.stacktrace/4.3.0/system.diagnostics.stacktrace.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.diagnostics.tools/4.3.0/system.diagnostics.tools.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.diagnostics.tracing/4.3.0/system.diagnostics.tracing.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.dynamic.runtime/4.3.0/system.dynamic.runtime.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.globalization/4.3.0/system.globalization.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.globalization.calendars/4.3.0/system.globalization.calendars.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.globalization.extensions/4.3.0/system.globalization.extensions.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.identitymodel.tokens.jwt/5.1.4/system.identitymodel.tokens.jwt.5.1.4.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.interactive.async/3.1.1/system.interactive.async.3.1.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.io/4.3.0/system.io.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.io.compression/4.3.0/system.io.compression.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.io.compression.zipfile/4.3.0/system.io.compression.zipfile.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.io.filesystem/4.3.0/system.io.filesystem.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.io.filesystem.primitives/4.3.0/system.io.filesystem.primitives.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.linq/4.3.0/system.linq.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.linq.expressions/4.3.0/system.linq.expressions.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.linq.queryable/4.0.1/system.linq.queryable.4.0.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.net.http/4.3.0/system.net.http.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.net.nameresolution/4.3.0/system.net.nameresolution.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.net.primitives/4.3.0/system.net.primitives.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.net.security/4.3.0/system.net.security.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.net.sockets/4.3.0/system.net.sockets.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.numerics.vectors/4.4.0/system.numerics.vectors.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.objectmodel/4.3.0/system.objectmodel.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.private.datacontractserialization/4.1.1/system.private.datacontractserialization.4.1.1.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.reflection/4.3.0/system.reflection.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.reflection.emit/4.3.0/system.reflection.emit.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.reflection.emit.ilgeneration/4.3.0/system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.reflection.emit.lightweight/4.3.0/system.reflection.emit.lightweight.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.reflection.extensions/4.3.0/system.reflection.extensions.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.reflection.metadata/1.5.0/system.reflection.metadata.1.5.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.reflection.primitives/4.3.0/system.reflection.primitives.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.reflection.typeextensions/4.3.0/system.reflection.typeextensions.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.resources.resourcemanager/4.3.0/system.resources.resourcemanager.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.runtime/4.3.0/system.runtime.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.runtime.compilerservices.unsafe/4.4.0/system.runtime.compilerservices.unsafe.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.runtime.extensions/4.3.0/system.runtime.extensions.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.runtime.handles/4.3.0/system.runtime.handles.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.runtime.interopservices/4.3.0/system.runtime.interopservices.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.runtime.interopservices.runtimeinformation/4.3.0/system.runtime.interopservices.runtimeinformation.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.runtime.numerics/4.3.0/system.runtime.numerics.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.runtime.serialization.formatters/4.3.0/system.runtime.serialization.formatters.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.runtime.serialization.json/4.0.2/system.runtime.serialization.json.4.0.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.runtime.serialization.primitives/4.3.0/system.runtime.serialization.primitives.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.accesscontrol/4.4.0/system.security.accesscontrol.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.claims/4.3.0/system.security.claims.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.cryptography.algorithms/4.3.0/system.security.cryptography.algorithms.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.cryptography.cng/4.3.0/system.security.cryptography.cng.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.cryptography.csp/4.3.0/system.security.cryptography.csp.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.cryptography.encoding/4.3.0/system.security.cryptography.encoding.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.cryptography.openssl/4.3.0/system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.cryptography.primitives/4.3.0/system.security.cryptography.primitives.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.cryptography.x509certificates/4.3.0/system.security.cryptography.x509certificates.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.cryptography.xml/4.4.0/system.security.cryptography.xml.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.principal/4.3.0/system.security.principal.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.security.principal.windows/4.4.0/system.security.principal.windows.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.spatial/5.8.2/system.spatial.5.8.2.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.text.encoding/4.3.0/system.text.encoding.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.text.encoding.codepages/4.4.0/system.text.encoding.codepages.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.text.encoding.extensions/4.3.0/system.text.encoding.extensions.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.text.encodings.web/4.4.0/system.text.encodings.web.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.text.regularexpressions/4.3.0/system.text.regularexpressions.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.threading/4.3.0/system.threading.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.threading.tasks/4.3.0/system.threading.tasks.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.threading.tasks.extensions/4.4.0/system.threading.tasks.extensions.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.threading.tasks.parallel/4.3.0/system.threading.tasks.parallel.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.threading.thread/4.3.0/system.threading.thread.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.threading.threadpool/4.3.0/system.threading.threadpool.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.threading.timer/4.3.0/system.threading.timer.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.valuetuple/4.4.0/system.valuetuple.4.4.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.xml.readerwriter/4.3.0/system.xml.readerwriter.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.xml.xdocument/4.3.0/system.xml.xdocument.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.xml.xmldocument/4.3.0/system.xml.xmldocument.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.xml.xmlserializer/4.0.11/system.xml.xmlserializer.4.0.11.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.xml.xpath/4.3.0/system.xml.xpath.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/system.xml.xpath.xdocument/4.3.0/system.xml.xpath.xdocument.4.3.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/webhooksharp/1.0.0/webhooksharp.1.0.0.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/windowsazure.storage/8.1.4/windowsazure.storage.8.1.4.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.netcore.app.ref/6.0.31/microsoft.netcore.app.ref.6.0.31.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.app.ref/6.0.31/microsoft.aspnetcore.app.ref.6.0.31.nupkg.sha512"
|
||||
],
|
||||
"projectFilePath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Controladora\\Controladora.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class Categoria
|
||||
|
||||
@@ -1,17 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class Cliente
|
||||
{
|
||||
public string Cuit { get; set; }
|
||||
public Int64 Cuit { get; set; }
|
||||
public string Nombre { get; set; }
|
||||
public string Apellido { get; set; }
|
||||
public string Direccion { get; set; }
|
||||
public string Correo { get; set; }
|
||||
|
||||
[Browsable(false)]
|
||||
public bool Habilitado { get; set; }
|
||||
|
||||
public string NombreCompleto
|
||||
{
|
||||
get { return $"{Nombre} {Apellido}"; }
|
||||
}
|
||||
|
||||
// Sobreescribir ToString() para mostrar el nombre completo
|
||||
public override string ToString()
|
||||
{
|
||||
return NombreCompleto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class DetalleFactura: Detalle<Producto>
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class DetalleOrdenDeCompra: Detalle<Producto>
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class DetallePedido : Detalle<Producto>
|
||||
{
|
||||
public int IdPedido { get; set; }
|
||||
public int CantidadPedido { get; set; }
|
||||
public List<Producto> Productos { get; set; } = new List<Producto>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class DetallePresupuesto: Detalle<Producto>
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public enum EnvaseTipo
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class Lote
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
@@ -13,6 +8,7 @@ namespace Entidades
|
||||
public string Nombre { get; set; }
|
||||
public double Precio { get; set; }
|
||||
public bool Habilitado { get; set; }
|
||||
public Categoria Categoria { get; set; }
|
||||
private List<Categoria> categorias = new List<Categoria>();
|
||||
|
||||
public void AñadirCategoria(Categoria cat) {
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class ProductoNoPercedero: Producto
|
||||
{
|
||||
public EnvaseTipo TipoDeEnvase { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class ProductoPercedero: Producto
|
||||
{
|
||||
public int MesesHastaConsumoPreferente { get; set; }
|
||||
public int MesesHastaVencimiento { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
public class Proveedor
|
||||
@@ -11,6 +6,8 @@ namespace Entidades
|
||||
public Int64 Cuit { get; set; }
|
||||
public string Nombre { get; set; }
|
||||
public string RazonSocial { get; set; }
|
||||
public bool Habilitado { get; set; }
|
||||
public string Direccion { get; set; }
|
||||
public bool Habilitado { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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.
|
||||
@@ -13,10 +14,10 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Entidades")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+04e6a0b9bb4746be80e8ddf020dfc5f1212f5ce4")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Entidades")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generado por la clase WriteCodeFragment de MSBuild.
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
c9fd7d1da15719a344d19280a9e21a8dc924eb19882884c600d67b0cd9fae973
|
||||
1589bc3738d4d92e8df1687e356ae3d2c87cb333
|
||||
|
||||
@@ -8,6 +8,4 @@ build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Entidades
|
||||
build_property.ProjectDir = /home/fede/proyectos/Final_OOP/Entidades/
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.ProjectDir = C:\Users\fedpo\Downloads\Final\Final\Entidades\
|
||||
|
||||
Binary file not shown.
@@ -1,25 +1,27 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj": {}
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj": {
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj",
|
||||
"projectUniqueName": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj",
|
||||
"projectName": "Entidades",
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj",
|
||||
"packagesPath": "/home/fede/.nuget/packages/",
|
||||
"outputPath": "/home/fede/proyectos/Final_OOP/Entidades/obj/",
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj",
|
||||
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/fede/.nuget/NuGet/NuGet.Config"
|
||||
"C:\\Users\\fedpo\\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": {},
|
||||
"https://fedesrv.ddns.net/git/api/packages/fede/nuget/index.json": {}
|
||||
},
|
||||
@@ -49,22 +51,12 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/var/run/host/usr/share/dotnet/sdk/8.0.106/RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/fede/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/fede/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\fedpo\.nuget\packages\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.1</NuGetToolVersion>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.6.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/home/fede/.nuget/packages/" />
|
||||
<SourceRoot Include="C:\Users\fedpo\.nuget\packages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
// Este código fue generado por una herramienta.
|
||||
// Versión de runtime:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
|
||||
// se vuelve a generar el código.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -14,10 +14,10 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Entidades")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+abfd18e86f40a98925507ec03c2e8832ee47a3eb")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Entidades")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
// Generado por la clase WriteCodeFragment de MSBuild.
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
1dac91cef82b545d186b8ab941058cf01df1dea3
|
||||
0f23a71dabcab7104ee2511db3de6cc1ef434f03702a8d033e7694541758b7dd
|
||||
|
||||
@@ -8,4 +8,6 @@ build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Entidades
|
||||
build_property.ProjectDir = C:\Users\fedpo\Source\Repos\Final_OOP\Entidades\
|
||||
build_property.ProjectDir = C:\Users\Nacho\source\repos\Final\Entidades\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -8,24 +8,26 @@
|
||||
"net6.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"/home/fede/.nuget/packages/": {}
|
||||
"C:\\Users\\fedpo\\.nuget\\packages\\": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj",
|
||||
"projectUniqueName": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj",
|
||||
"projectName": "Entidades",
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj",
|
||||
"packagesPath": "/home/fede/.nuget/packages/",
|
||||
"outputPath": "/home/fede/proyectos/Final_OOP/Entidades/obj/",
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj",
|
||||
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/fede/.nuget/NuGet/NuGet.Config"
|
||||
"C:\\Users\\fedpo\\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": {},
|
||||
"https://fedesrv.ddns.net/git/api/packages/fede/nuget/index.json": {}
|
||||
},
|
||||
@@ -55,22 +57,12 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/var/run/host/usr/share/dotnet/sdk/8.0.106/RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "LSnXGupX+sIU3VjCECy137T1ThKtECGacQq+4Cfd3SDyYEpIcp26yf15qIysqN2+1Fwti7c13f3fBKmUt8i0Og==",
|
||||
"dgSpecHash": "iQ0EifyjZh9oi0Mdt+E3sLhf14CzOUsLKHxZb9iRQ9RyPF+gexIoaaQb71/6xZGzSye9KUJ3V77rlL+eNkHOdw==",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/fede/.nuget/packages/microsoft.netcore.app.ref/6.0.31/microsoft.netcore.app.ref.6.0.31.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.app.ref/6.0.31/microsoft.aspnetcore.app.ref.6.0.31.nupkg.sha512"
|
||||
],
|
||||
"projectFilePath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
||||
@@ -7,9 +7,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Controladora", "Controlador
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Entidades", "Entidades\Entidades.csproj", "{78A331E5-86D4-427E-AA45-5879F9E5E98B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Modelo", "Modelo\Modelo.csproj", "{9A0960D9-C909-4B68-8BBB-8C44B9CD0E97}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modelo", "Modelo\Modelo.csproj", "{9A0960D9-C909-4B68-8BBB-8C44B9CD0E97}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Vista", "Vista\Vista.csproj", "{8C9E8090-5D8F-42AE-9813-C68D384C6863}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{7168B549-F229-4D49-8C53-AF1CEB9BBB6B} = {7168B549-F229-4D49-8C53-AF1CEB9BBB6B}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Runtime;
|
||||
using Entidades;
|
||||
using Entidades;
|
||||
|
||||
namespace Modelo
|
||||
{
|
||||
@@ -28,10 +27,10 @@ namespace Modelo
|
||||
|
||||
try
|
||||
{
|
||||
var categoriaAModificar = almacen.Find(x => x.Id == t.Id);
|
||||
if (categoriaAModificar != null)
|
||||
var categoriaAModificar = almacen.FindIndex(x => x.Id == t.Id);
|
||||
if (categoriaAModificar > -1)
|
||||
{
|
||||
categoriaAModificar = t;
|
||||
almacen[categoriaAModificar] = t;
|
||||
ret = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
using System.Runtime;
|
||||
using Entidades;
|
||||
using Entidades;
|
||||
|
||||
namespace Modelo
|
||||
{
|
||||
public sealed class RepositorioClientes : RepositorioBase<Cliente, RepositorioClientes>
|
||||
{
|
||||
override public bool Add(Cliente t)
|
||||
public override bool Add(Cliente t)
|
||||
{
|
||||
bool ret = false;
|
||||
if (ExistePorCuit(t.Cuit))
|
||||
{
|
||||
throw new InvalidOperationException($"El Cliente con el CUIT {t.Cuit} ya existe.");
|
||||
}
|
||||
|
||||
bool ret = false;
|
||||
try
|
||||
{
|
||||
almacen.Add(t);
|
||||
@@ -21,6 +24,11 @@ namespace Modelo
|
||||
|
||||
return ret;
|
||||
}
|
||||
// Método para verificar si el CUIT ya existe
|
||||
public bool ExistePorCuit(long cuit)
|
||||
{
|
||||
return almacen.Any(c => c.Cuit == cuit);
|
||||
}
|
||||
|
||||
override public bool Mod(Cliente t)
|
||||
{
|
||||
@@ -29,10 +37,10 @@ namespace Modelo
|
||||
|
||||
try
|
||||
{
|
||||
var clienteAModificar = almacen.Find(x => x.Cuit == t.Cuit);
|
||||
if (clienteAModificar != null)
|
||||
var clienteAModificar = almacen.FindIndex(x => x.Cuit == t.Cuit);
|
||||
if (clienteAModificar > -1)
|
||||
{
|
||||
clienteAModificar = t;
|
||||
almacen[clienteAModificar] = t;
|
||||
ret = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Runtime;
|
||||
using Entidades;
|
||||
|
||||
namespace Modelo
|
||||
@@ -8,31 +7,40 @@ namespace Modelo
|
||||
{
|
||||
override public bool Add(Factura t)
|
||||
{
|
||||
bool ret = false;
|
||||
|
||||
if (ExistePorId(t.Id))
|
||||
{
|
||||
throw new InvalidOperationException($"La Factura con el ID {t.Id} ya existe.");
|
||||
}
|
||||
if (t.Cliente == null || t.Cliente.Cuit == 0)
|
||||
{
|
||||
throw new InvalidOperationException("Debe seleccionar un cliente antes de agregar la factura.");
|
||||
}
|
||||
try
|
||||
{
|
||||
almacen.Add(t);
|
||||
ret = true;
|
||||
return true;
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw;
|
||||
// Mejor manejo de excepciones, podrías registrar el error
|
||||
throw new Exception("Error al agregar la factura.", ex);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
override public bool Mod(Factura t)
|
||||
public bool ExistePorId(int id)
|
||||
{
|
||||
return almacen.Any(f => f.Id == id);
|
||||
}
|
||||
override public bool Mod(Factura t)
|
||||
{
|
||||
bool ret = false;
|
||||
|
||||
try
|
||||
{
|
||||
var facturaAModificar = almacen.Find(x => x.Id == t.Id);
|
||||
if (facturaAModificar != null)
|
||||
var facturaAModificar = almacen.FindIndex(x => x.Id == t.Id);
|
||||
if (facturaAModificar > -1)
|
||||
{
|
||||
facturaAModificar = t;
|
||||
almacen[facturaAModificar] = t;
|
||||
ret = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Runtime;
|
||||
using Entidades;
|
||||
using Entidades;
|
||||
|
||||
namespace Modelo
|
||||
{
|
||||
@@ -28,10 +27,10 @@ namespace Modelo
|
||||
|
||||
try
|
||||
{
|
||||
var loteAModificar = almacen.Find(x => x.Id == t.Id);
|
||||
if (loteAModificar != null)
|
||||
var loteAModificar = almacen.FindIndex(x => x.Id == t.Id);
|
||||
if (loteAModificar > -1)
|
||||
{
|
||||
loteAModificar = t;
|
||||
almacen[loteAModificar] = t;
|
||||
ret = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Runtime;
|
||||
using Entidades;
|
||||
|
||||
namespace Modelo
|
||||
@@ -29,10 +28,10 @@ namespace Modelo
|
||||
|
||||
try
|
||||
{
|
||||
var ordenAModificar = almacen.Find(x => x.Id == t.Id);
|
||||
if (ordenAModificar != null)
|
||||
var ordenAModificar = almacen.FindIndex(x => x.Id == t.Id);
|
||||
if (ordenAModificar > -1)
|
||||
{
|
||||
ordenAModificar = t;
|
||||
almacen[ordenAModificar] = t;
|
||||
ret = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Runtime;
|
||||
using Entidades;
|
||||
|
||||
namespace Modelo
|
||||
@@ -29,10 +28,10 @@ namespace Modelo
|
||||
|
||||
try
|
||||
{
|
||||
var pedidoAModificar = almacen.Find(x => x.Id == t.Id);
|
||||
if (pedidoAModificar != null)
|
||||
var pedidoAModificar = almacen.FindIndex(x => x.Id == t.Id);
|
||||
if (pedidoAModificar > -1)
|
||||
{
|
||||
pedidoAModificar = t;
|
||||
almacen[pedidoAModificar] = t;
|
||||
ret = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Runtime;
|
||||
using Entidades;
|
||||
|
||||
namespace Modelo
|
||||
@@ -29,11 +28,11 @@ namespace Modelo
|
||||
|
||||
try
|
||||
{
|
||||
var presupuestoAModificar = almacen.Find(x => x.Id == t.Id);
|
||||
if (presupuestoAModificar != null)
|
||||
var presupuestoAModificar = almacen.FindIndex(x => x.Id == t.Id);
|
||||
if (presupuestoAModificar > -1)
|
||||
{
|
||||
|
||||
presupuestoAModificar = t;
|
||||
almacen[presupuestoAModificar] = t;
|
||||
ret = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Runtime;
|
||||
using Entidades;
|
||||
using Entidades;
|
||||
|
||||
namespace Modelo
|
||||
{
|
||||
@@ -28,8 +27,8 @@ namespace Modelo
|
||||
|
||||
try
|
||||
{
|
||||
var AModificar = almacen.Find(x => x.Id == t.Id);
|
||||
AModificar = t;
|
||||
var AModificar = almacen.FindIndex(x => x.Id == t.Id);
|
||||
almacen[AModificar] = t;
|
||||
ret = true;
|
||||
}
|
||||
catch (Exception)
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Runtime;
|
||||
using Entidades;
|
||||
using Entidades;
|
||||
|
||||
namespace Modelo
|
||||
{
|
||||
@@ -7,19 +6,20 @@ namespace Modelo
|
||||
{
|
||||
override public bool Add(Proveedor t)
|
||||
{
|
||||
bool ret = false;
|
||||
if (ExistePorCuit(t.Cuit))
|
||||
{
|
||||
throw new InvalidOperationException($"El Proveedor con el CUIT {t.Cuit} ya existe.");
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
almacen.Add(t);
|
||||
ret = true;
|
||||
return true;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
override public bool Mod(Proveedor t)
|
||||
@@ -28,10 +28,10 @@ namespace Modelo
|
||||
|
||||
try
|
||||
{
|
||||
var proveedorAModificar = almacen.Find(x => x.Cuit == t.Cuit);
|
||||
if (proveedorAModificar != null)
|
||||
var proveedorAModificar = almacen.FindIndex(x => x.Cuit == t.Cuit);
|
||||
if (proveedorAModificar > -1)
|
||||
{
|
||||
proveedorAModificar = t;
|
||||
almacen[proveedorAModificar] = t;
|
||||
ret = true;
|
||||
}
|
||||
}
|
||||
@@ -46,7 +46,7 @@ namespace Modelo
|
||||
override public bool Del(Proveedor t)
|
||||
{
|
||||
bool ret = false;
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
var proveedorAEliminar = almacen.Find(x => x.Cuit == t.Cuit);
|
||||
@@ -63,5 +63,10 @@ namespace Modelo
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
public bool ExistePorCuit(long cuit)
|
||||
{
|
||||
return almacen.Any(p => p.Cuit == cuit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Runtime;
|
||||
using Entidades;
|
||||
|
||||
namespace Modelo
|
||||
@@ -30,11 +29,11 @@ namespace Modelo
|
||||
|
||||
try
|
||||
{
|
||||
var remitoAModificar = almacen.Find(x => x.Id == t.Id);
|
||||
if (remitoAModificar != null)
|
||||
var remitoAModificar = almacen.FindIndex(x => x.Id == t.Id);
|
||||
if (remitoAModificar > -1)
|
||||
{
|
||||
|
||||
remitoAModificar = t;
|
||||
almacen[remitoAModificar] = t;
|
||||
ret = true;
|
||||
|
||||
ret = true;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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.
|
||||
@@ -13,10 +14,10 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Modelo")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+04e6a0b9bb4746be80e8ddf020dfc5f1212f5ce4")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Modelo")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Modelo")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generado por la clase WriteCodeFragment de MSBuild.
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
19528923356c4738a962f057922a97a48b791eef234ebbc88765733e95d58587
|
||||
96d0d59bfa69a3c27ef653a551fb81c45157d195
|
||||
|
||||
@@ -8,6 +8,4 @@ build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Modelo
|
||||
build_property.ProjectDir = /home/fede/proyectos/Final_OOP/Modelo/
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.ProjectDir = C:\Users\fedpo\Downloads\Final\Final\Modelo\
|
||||
|
||||
Binary file not shown.
@@ -1,25 +1,27 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj": {}
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj": {
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj",
|
||||
"projectUniqueName": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj",
|
||||
"projectName": "Entidades",
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj",
|
||||
"packagesPath": "/home/fede/.nuget/packages/",
|
||||
"outputPath": "/home/fede/proyectos/Final_OOP/Entidades/obj/",
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj",
|
||||
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/fede/.nuget/NuGet/NuGet.Config"
|
||||
"C:\\Users\\fedpo\\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": {},
|
||||
"https://fedesrv.ddns.net/git/api/packages/fede/nuget/index.json": {}
|
||||
},
|
||||
@@ -49,41 +51,33 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/var/run/host/usr/share/dotnet/sdk/8.0.106/RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj": {
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj",
|
||||
"projectUniqueName": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj",
|
||||
"projectName": "Modelo",
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj",
|
||||
"packagesPath": "/home/fede/.nuget/packages/",
|
||||
"outputPath": "/home/fede/proyectos/Final_OOP/Modelo/obj/",
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj",
|
||||
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/fede/.nuget/NuGet/NuGet.Config"
|
||||
"C:\\Users\\fedpo\\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": {},
|
||||
"https://fedesrv.ddns.net/git/api/packages/fede/nuget/index.json": {}
|
||||
},
|
||||
@@ -91,8 +85,8 @@
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {
|
||||
"/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj": {
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj"
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj": {
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -117,22 +111,12 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/var/run/host/usr/share/dotnet/sdk/8.0.106/RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/fede/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/fede/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\fedpo\.nuget\packages\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.1</NuGetToolVersion>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.6.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/home/fede/.nuget/packages/" />
|
||||
<SourceRoot Include="C:\Users\fedpo\.nuget\packages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
// Este código fue generado por una herramienta.
|
||||
// Versión de runtime:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
|
||||
// se vuelve a generar el código.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -14,10 +14,10 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Modelo")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+abfd18e86f40a98925507ec03c2e8832ee47a3eb")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Modelo")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Modelo")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
// Generado por la clase WriteCodeFragment de MSBuild.
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
62b2a3bcc43d28f54304e0bcd7e2b7d409425118
|
||||
3e36c8c77cd831cf7c05eae84ca674fcaae78b66286858be7486e7662b80b494
|
||||
|
||||
@@ -8,4 +8,6 @@ build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Modelo
|
||||
build_property.ProjectDir = C:\Users\fedpo\Source\Repos\Final_OOP\Modelo\
|
||||
build_property.ProjectDir = C:\Users\Nacho\source\repos\Final\Modelo\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -27,24 +27,26 @@
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"/home/fede/.nuget/packages/": {}
|
||||
"C:\\Users\\fedpo\\.nuget\\packages\\": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj",
|
||||
"projectUniqueName": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj",
|
||||
"projectName": "Modelo",
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj",
|
||||
"packagesPath": "/home/fede/.nuget/packages/",
|
||||
"outputPath": "/home/fede/proyectos/Final_OOP/Modelo/obj/",
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj",
|
||||
"packagesPath": "C:\\Users\\fedpo\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/fede/.nuget/NuGet/NuGet.Config"
|
||||
"C:\\Users\\fedpo\\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": {},
|
||||
"https://fedesrv.ddns.net/git/api/packages/fede/nuget/index.json": {}
|
||||
},
|
||||
@@ -52,8 +54,8 @@
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {
|
||||
"/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj": {
|
||||
"projectPath": "/home/fede/proyectos/Final_OOP/Entidades/Entidades.csproj"
|
||||
"C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj": {
|
||||
"projectPath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Entidades\\Entidades.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -78,22 +80,12 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Ref",
|
||||
"version": "[6.0.31, 6.0.31]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/var/run/host/usr/share/dotnet/sdk/8.0.106/RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "druJUlWKmOp0ZDp0BX75o9Fs1GyoqoIkTLLMStpqDmZBEy8hoSreNrR/4qjyFeX2PbXxwtpQp0hY2GY2ewsTOQ==",
|
||||
"dgSpecHash": "pw7jedCv+5Z7cgVNhso+oycHNF67O1XyYT4HUnm6ukG4VUtgCv2G8NovbqYT02ZK0eONOKuhRbtsHdtFWeVAnw==",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/fede/proyectos/Final_OOP/Modelo/Modelo.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/fede/.nuget/packages/microsoft.netcore.app.ref/6.0.31/microsoft.netcore.app.ref.6.0.31.nupkg.sha512",
|
||||
"/home/fede/.nuget/packages/microsoft.aspnetcore.app.ref/6.0.31/microsoft.aspnetcore.app.ref.6.0.31.nupkg.sha512"
|
||||
],
|
||||
"projectFilePath": "C:\\Users\\fedpo\\Downloads\\Final\\Final\\Modelo\\Modelo.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
||||
122
Vista/AddProducto.Designer.cs
generated
Normal file
122
Vista/AddProducto.Designer.cs
generated
Normal file
@@ -0,0 +1,122 @@
|
||||
namespace Vista
|
||||
{
|
||||
partial class AddProducto
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
comboBox1 = new ComboBox();
|
||||
label1 = new Label();
|
||||
label2 = new Label();
|
||||
numericUpDown1 = new NumericUpDown();
|
||||
button1 = new Button();
|
||||
button2 = new Button();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// comboBox1
|
||||
//
|
||||
comboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||
comboBox1.FormattingEnabled = true;
|
||||
comboBox1.Location = new Point(164, 36);
|
||||
comboBox1.Name = "comboBox1";
|
||||
comboBox1.Size = new Size(121, 23);
|
||||
comboBox1.TabIndex = 0;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new Point(92, 39);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(56, 15);
|
||||
label1.TabIndex = 1;
|
||||
label1.Text = "Producto";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new Point(93, 85);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new Size(55, 15);
|
||||
label2.TabIndex = 2;
|
||||
label2.Text = "Cantidad";
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
numericUpDown1.Location = new Point(165, 77);
|
||||
numericUpDown1.Maximum = new decimal(new int[] { 10000000, 0, 0, 0 });
|
||||
numericUpDown1.Name = "numericUpDown1";
|
||||
numericUpDown1.Size = new Size(120, 23);
|
||||
numericUpDown1.TabIndex = 3;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
button1.Location = new Point(12, 191);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(85, 42);
|
||||
button1.TabIndex = 4;
|
||||
button1.Text = "Guardar";
|
||||
button1.UseVisualStyleBackColor = true;
|
||||
button1.Click += button1_Click;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
button2.Location = new Point(354, 191);
|
||||
button2.Name = "button2";
|
||||
button2.Size = new Size(85, 42);
|
||||
button2.TabIndex = 5;
|
||||
button2.Text = "Cancelar";
|
||||
button2.UseVisualStyleBackColor = true;
|
||||
button2.Click += button2_Click;
|
||||
//
|
||||
// AddProducto
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(451, 245);
|
||||
Controls.Add(button2);
|
||||
Controls.Add(button1);
|
||||
Controls.Add(numericUpDown1);
|
||||
Controls.Add(label2);
|
||||
Controls.Add(label1);
|
||||
Controls.Add(comboBox1);
|
||||
Name = "AddProducto";
|
||||
Text = "Form1";
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDown1).EndInit();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private ComboBox comboBox1;
|
||||
private Label label1;
|
||||
private Label label2;
|
||||
private NumericUpDown numericUpDown1;
|
||||
private Button button1;
|
||||
private Button button2;
|
||||
}
|
||||
}
|
||||
30
Vista/AddProducto.cs
Normal file
30
Vista/AddProducto.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Vista
|
||||
{
|
||||
public partial class AddProducto : Form
|
||||
{
|
||||
public AddProducto()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
120
Vista/AddProducto.resx
Normal file
120
Vista/AddProducto.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing"">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
119
Vista/CategoriaCreate.Designer.cs
generated
Normal file
119
Vista/CategoriaCreate.Designer.cs
generated
Normal file
@@ -0,0 +1,119 @@
|
||||
namespace Vista
|
||||
{
|
||||
partial class CategoriaCreate
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
button2 = new Button();
|
||||
label1 = new Label();
|
||||
label2 = new Label();
|
||||
numericUpDown1 = new NumericUpDown();
|
||||
textBox1 = new TextBox();
|
||||
button1 = new Button();
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// button2
|
||||
//
|
||||
button2.Location = new Point(146, 166);
|
||||
button2.Name = "button2";
|
||||
button2.Size = new Size(75, 23);
|
||||
button2.TabIndex = 1;
|
||||
button2.Text = "Cancelar";
|
||||
button2.UseVisualStyleBackColor = true;
|
||||
button2.Click += button2_Click;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
label1.AutoSize = true;
|
||||
label1.Location = new Point(12, 31);
|
||||
label1.Name = "label1";
|
||||
label1.Size = new Size(18, 15);
|
||||
label1.TabIndex = 2;
|
||||
label1.Text = "ID";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
label2.AutoSize = true;
|
||||
label2.Location = new Point(12, 67);
|
||||
label2.Name = "label2";
|
||||
label2.Size = new Size(69, 15);
|
||||
label2.TabIndex = 3;
|
||||
label2.Text = "Descripcion";
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
numericUpDown1.Location = new Point(101, 23);
|
||||
numericUpDown1.Maximum = new decimal(new int[] { 1215752191, 23, 0, 0 });
|
||||
numericUpDown1.Name = "numericUpDown1";
|
||||
numericUpDown1.Size = new Size(120, 23);
|
||||
numericUpDown1.TabIndex = 4;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
textBox1.Location = new Point(101, 59);
|
||||
textBox1.Name = "textBox1";
|
||||
textBox1.Size = new Size(120, 23);
|
||||
textBox1.TabIndex = 5;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
button1.Location = new Point(32, 166);
|
||||
button1.Name = "button1";
|
||||
button1.Size = new Size(75, 23);
|
||||
button1.TabIndex = 6;
|
||||
button1.Text = "Aceptar";
|
||||
button1.UseVisualStyleBackColor = true;
|
||||
button1.Click += button1_Click;
|
||||
//
|
||||
// CategoriaCreate
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(517, 235);
|
||||
Controls.Add(button1);
|
||||
Controls.Add(textBox1);
|
||||
Controls.Add(numericUpDown1);
|
||||
Controls.Add(label2);
|
||||
Controls.Add(label1);
|
||||
Controls.Add(button2);
|
||||
Name = "CategoriaCreate";
|
||||
Text = "Form1";
|
||||
((System.ComponentModel.ISupportInitialize)numericUpDown1).EndInit();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
private Button button2;
|
||||
private Label label1;
|
||||
private Label label2;
|
||||
private NumericUpDown numericUpDown1;
|
||||
private TextBox textBox1;
|
||||
private Button button1;
|
||||
}
|
||||
}
|
||||
92
Vista/CategoriaCreate.cs
Normal file
92
Vista/CategoriaCreate.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
using Controladora;
|
||||
using Entidades;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Vista
|
||||
{
|
||||
public partial class CategoriaCreate : Form
|
||||
{
|
||||
private Categoria? categoria;
|
||||
public CategoriaCreate()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
|
||||
}
|
||||
private void CargarDatos()
|
||||
{
|
||||
if (categoria != null)
|
||||
{
|
||||
textBox1.Text = categoria.Descripcion;
|
||||
numericUpDown1.Value = categoria.Id;
|
||||
}
|
||||
}
|
||||
|
||||
private bool ValidarDatos()
|
||||
{
|
||||
string devolucion = "";
|
||||
|
||||
if (string.IsNullOrEmpty(textBox1.Text))
|
||||
devolucion += "La descripción no puede ser nula o vacía\n";
|
||||
else if (textBox1.Text.Length > 100) // Ajusta el límite según sea necesario
|
||||
devolucion += "La descripción no puede superar los 100 caracteres\n";
|
||||
|
||||
// Validar unicidad del ID solo si es una nueva categoría
|
||||
if (categoria == null && ControladoraCategorias.Instance.Listar().Any(c => c.Id == (int)numericUpDown1.Value))
|
||||
{
|
||||
devolucion += "Ya existe una categoría con el mismo ID\n";
|
||||
}
|
||||
|
||||
if (devolucion == "")
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(devolucion);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
string msg;
|
||||
if (ValidarDatos())
|
||||
{
|
||||
if (categoria == null)
|
||||
{
|
||||
categoria = new Categoria
|
||||
{
|
||||
Id = (int)numericUpDown1.Value,
|
||||
Descripcion = textBox1.Text
|
||||
};
|
||||
|
||||
msg = ControladoraCategorias.Instance.Añadir(categoria);
|
||||
}
|
||||
else
|
||||
{
|
||||
categoria.Descripcion = textBox1.Text;
|
||||
categoria.Id = (int)numericUpDown1.Value; // Solo si quieres permitir modificaciones del ID
|
||||
|
||||
msg = ControladoraCategorias.Instance.Modificar(categoria);
|
||||
}
|
||||
MessageBox.Show(msg, "Información", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,17 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
@@ -26,36 +26,36 @@
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user