Compare commits
46 Commits
6192eed627
...
Vista
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f2457d4eaa | ||
| cefd645974 | |||
| 9bf517e851 | |||
| ab0a1185d4 | |||
| 57e1d4526e | |||
| 18ee45927a | |||
| 721c770fcd | |||
| ed59d68c8e | |||
| d72741b43e | |||
| 1baf2d9351 | |||
|
|
8ad9dc6e8b | ||
| 04704c4cc9 | |||
| 58d732320f | |||
| f51929c23d | |||
| abfd18e86f | |||
| 13ce2d317c | |||
| 56ec4226da | |||
| 82fc7a09c6 | |||
| aaa7f39a42 | |||
| 9f04a9c0af | |||
| c40f19e7c7 | |||
| 32bad7f9ac | |||
| 4139a58f6e | |||
| ea209bc4fc | |||
| ffd6001a08 | |||
| 2c8ca41f13 | |||
| ca71eefd6c | |||
|
|
14f1488e44 | ||
|
|
4584ea6529 | ||
|
|
5d29abefe6 | ||
|
|
bc4cbf98b6 | ||
| 6f63c32800 | |||
| 6a21854822 | |||
| 0aa21cfe31 | |||
| 3dbd862047 | |||
| 1df2d39e29 | |||
| 567bf7b788 | |||
| 07471878e7 | |||
| d04a2b25c8 | |||
| c42010f45b | |||
| f211b47850 | |||
| c0060e8c0d | |||
| 3fdab465f1 | |||
| ebe118536d | |||
| 6fe4bcd878 | |||
| 4e2e723ea4 |
10
.gitignore
vendored
10
.gitignore
vendored
@@ -2,6 +2,14 @@
|
|||||||
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
|
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
/Vista/bin/Debug/net6.0-windows
|
Vista/bin
|
||||||
|
Vista/obj
|
||||||
*.bbl
|
*.bbl
|
||||||
*.tex
|
*.tex
|
||||||
|
.vs
|
||||||
|
Modelo/bin
|
||||||
|
Modelo/obj
|
||||||
|
Entidades/bin
|
||||||
|
Entidades/obj
|
||||||
|
Controladora/bin
|
||||||
|
Controladora/obj
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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.
@@ -1,7 +0,0 @@
|
|||||||
namespace Controladora
|
|
||||||
{
|
|
||||||
public class Class1
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -6,4 +6,14 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Emailer" Version="1.0.0" />
|
||||||
|
<PackageReference Include="webhookSharp" Version="1.0.0" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Modelo\Modelo.csproj" />
|
||||||
|
<ProjectReference Include="..\Entidades\Entidades.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
36
Controladora/ControladoraBase.cs
Normal file
36
Controladora/ControladoraBase.cs
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
42
Controladora/ControladoraCategorias.cs
Normal file
42
Controladora/ControladoraCategorias.cs
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraCategorias : ControladoraBase<Categoria, ControladoraCategorias>
|
||||||
|
{
|
||||||
|
public override string Añadir(Categoria t)
|
||||||
|
{
|
||||||
|
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}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(Categoria t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Categoria es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioCategoria.Instance.Del(t)) ?
|
||||||
|
$"El Categoria {t.Descripcion} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Categoria {t.Descripcion}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(Categoria t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Categoria es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioCategoria.Instance.Mod(t)) ?
|
||||||
|
$"El Categoria {t.Descripcion} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del Categoria {t.Descripcion}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Categoria> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioCategoria.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
41
Controladora/ControladoraClientes.cs
Normal file
41
Controladora/ControladoraClientes.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraClientes : ControladoraBase<Cliente, ControladoraClientes>
|
||||||
|
{
|
||||||
|
public override string Añadir(Cliente t)
|
||||||
|
{
|
||||||
|
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}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(Cliente t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Cliente es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioClientes.Instance.Del(t)) ?
|
||||||
|
$"El Cliente {t.Nombre} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Cliente {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(Cliente t)
|
||||||
|
{
|
||||||
|
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}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Cliente> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioClientes.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
41
Controladora/ControladoraFacturas.cs
Normal file
41
Controladora/ControladoraFacturas.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraFacturas : ControladoraBase<Factura, ControladoraFacturas>
|
||||||
|
{
|
||||||
|
public override string Añadir(Factura t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Factura es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioFactura.Instance.Add(t)) ?
|
||||||
|
$"El Factura {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del Factura {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(Factura t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Factura es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioFactura.Instance.Del(t)) ?
|
||||||
|
$"El Factura {t.Id} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Factura {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(Factura t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Factura es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioFactura.Instance.Mod(t)) ?
|
||||||
|
$"El Factura {t.Id} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del Factura {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Factura> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioFactura.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
42
Controladora/ControladoraOrdenesDeCompra.cs
Normal file
42
Controladora/ControladoraOrdenesDeCompra.cs
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraOrdenDeCompras : ControladoraBase<OrdenDeCompra, ControladoraOrdenDeCompras>
|
||||||
|
{
|
||||||
|
public override string Añadir(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El OrdenDeCompra es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioOrdenDeCompra.Instance.Add(t)) ?
|
||||||
|
$"El OrdenDeCompra {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del OrdenDeCompra {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El OrdenDeCompra es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioOrdenDeCompra.Instance.Del(t)) ?
|
||||||
|
$"El OrdenDeCompra {t.Id} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del OrdenDeCompra {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El OrdenDeCompra es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioOrdenDeCompra.Instance.Mod(t)) ?
|
||||||
|
$"El OrdenDeCompra {t.Id} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del OrdenDeCompra {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<OrdenDeCompra> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioOrdenDeCompra.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
42
Controladora/ControladoraPedidoPresupuesto.cs
Normal file
42
Controladora/ControladoraPedidoPresupuesto.cs
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraPedidoDePresupuestos : ControladoraBase<PedidoDePresupuesto, ControladoraPedidoDePresupuestos>
|
||||||
|
{
|
||||||
|
public override string Añadir(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El PedidoDePresupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPedidoDePresupuesto.Instance.Add(t)) ?
|
||||||
|
$"El PedidoDePresupuesto {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del PedidoDePresupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El PedidoDePresupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPedidoDePresupuesto.Instance.Del(t)) ?
|
||||||
|
$"El PedidoDePresupuesto {t.Id} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del PedidoDePresupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El PedidoDePresupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPedidoDePresupuesto.Instance.Mod(t)) ?
|
||||||
|
$"El PedidoDePresupuesto {t.Id} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del PedidoDePresupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<PedidoDePresupuesto> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioPedidoDePresupuesto.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
41
Controladora/ControladoraPresupuestos.cs
Normal file
41
Controladora/ControladoraPresupuestos.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraPresupuestos : ControladoraBase<Presupuesto, ControladoraPresupuestos>
|
||||||
|
{
|
||||||
|
public override string Añadir(Presupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Presupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPresupuesto.Instance.Add(t)) ?
|
||||||
|
$"El Presupuesto {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del Presupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Eliminar(Presupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Presupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPresupuesto.Instance.Del(t)) ?
|
||||||
|
$"El Presupuesto {t.Id} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Presupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Modificar(Presupuesto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Presupuesto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioPresupuesto.Instance.Mod(t)) ?
|
||||||
|
$"El Presupuesto {t.Id} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del Presupuesto {t.Id}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Presupuesto> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioPresupuesto.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
41
Controladora/ControladoraProductos.cs
Normal file
41
Controladora/ControladoraProductos.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraProductos : ControladoraBase<Producto, ControladoraProductos>
|
||||||
|
{
|
||||||
|
public override string Añadir(Producto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Producto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioProductos.Instance.Add(t)) ?
|
||||||
|
$"El Producto {t.Nombre} se cargo correctamente":
|
||||||
|
$"Fallo la carga del Producto {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Eliminar(Producto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Producto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioProductos.Instance.Del(t)) ?
|
||||||
|
$"El Producto {t.Nombre} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Producto {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Modificar(Producto t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Producto es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioProductos.Instance.Mod(t)) ?
|
||||||
|
$"El Producto {t.Nombre} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del Producto {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Producto> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioProductos.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
41
Controladora/ControladoraProveedores.cs
Normal file
41
Controladora/ControladoraProveedores.cs
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraProveedores : ControladoraBase<Proveedor, ControladoraProveedores>
|
||||||
|
{
|
||||||
|
public override 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}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Eliminar(Proveedor t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Proveedor es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioProveedor.Instance.Del(t)) ?
|
||||||
|
$"El Proveedor {t.Nombre} se Elimino correctamente":
|
||||||
|
$"Fallo la Eliminacion del Proveedor {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override string Modificar(Proveedor t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Proveedor es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioProveedor.Instance.Mod(t)) ?
|
||||||
|
$"El Proveedor {t.Nombre} se Modifico correctamente":
|
||||||
|
$"Fallo la Modificacion del Proveedor {t.Nombre}";
|
||||||
|
}
|
||||||
|
|
||||||
|
public override ReadOnlyCollection<Proveedor> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioProveedor.Instance.Listar();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
43
Controladora/ControladoraRemito.cs
Normal file
43
Controladora/ControladoraRemito.cs
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using Entidades;
|
||||||
|
using Modelo;
|
||||||
|
|
||||||
|
namespace Controladora
|
||||||
|
{
|
||||||
|
class ControladoraRemito : ControladoraBase<Remito, ControladoraRemito>
|
||||||
|
{
|
||||||
|
public override ReadOnlyCollection<Remito> Listar()
|
||||||
|
{
|
||||||
|
return RepositorioRemito.Instance.Listar();
|
||||||
|
}
|
||||||
|
|
||||||
|
override public string Añadir(Remito t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Remito es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioRemito.Instance.Add(t)) ?
|
||||||
|
$"El remito {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del remito {t.Id}";
|
||||||
|
|
||||||
|
}
|
||||||
|
override public string Modificar(Remito t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Remito es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioRemito.Instance.Add(t)) ?
|
||||||
|
$"El remito {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del remito {t.Id}";
|
||||||
|
|
||||||
|
}
|
||||||
|
override public string Eliminar(Remito t)
|
||||||
|
{
|
||||||
|
if (t == null) return "El Remito es nulo fallo la carga";
|
||||||
|
|
||||||
|
return (RepositorioRemito.Instance.Add(t)) ?
|
||||||
|
$"El remito {t.Id} se cargo correctamente":
|
||||||
|
$"Fallo la carga del remito {t.Id}";
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -1,24 +1,97 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj": {}
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj": {
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj",
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj",
|
||||||
"projectName": "Controladora",
|
"projectName": "Controladora",
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj",
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj",
|
||||||
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\obj\\",
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net6.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"projectReferences": {
|
||||||
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj"
|
||||||
|
},
|
||||||
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj": {
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"dependencies": {
|
||||||
|
"Emailer": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[1.0.0, )"
|
||||||
|
},
|
||||||
|
"webhookSharp": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[1.0.0, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
|
"projectName": "Entidades",
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"fallbackFolders": [
|
|
||||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
|
||||||
],
|
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
|
||||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
],
|
],
|
||||||
"originalTargetFrameworks": [
|
"originalTargetFrameworks": [
|
||||||
@@ -38,6 +111,11 @@
|
|||||||
"warnAsError": [
|
"warnAsError": [
|
||||||
"NU1605"
|
"NU1605"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
@@ -59,7 +137,71 @@
|
|||||||
"privateAssets": "all"
|
"privateAssets": "all"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj",
|
||||||
|
"projectName": "Modelo",
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\Modelo.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Modelo\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net6.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"projectReferences": {
|
||||||
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,16 +1,20 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">False</RestoreSuccess>
|
||||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nacho\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nacho\.nuget\packages\</NuGetPackageFolders>
|
||||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.4.0</NuGetToolVersion>
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.2</NuGetToolVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<SourceRoot Include="C:\Users\Nacho\.nuget\packages\" />
|
<SourceRoot Include="C:\Users\Nacho\.nuget\packages\" />
|
||||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<PkgNewtonsoft_Json Condition=" '$(PkgNewtonsoft_Json)' == '' ">C:\Users\Nacho\.nuget\packages\newtonsoft.json\10.0.1</PkgNewtonsoft_Json>
|
||||||
|
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\Nacho\.nuget\packages\microsoft.entityframeworkcore.tools\2.0.2</PkgMicrosoft_EntityFrameworkCore_Tools>
|
||||||
|
<PkgMicrosoft_CodeAnalysis_Analyzers Condition=" '$(PkgMicrosoft_CodeAnalysis_Analyzers)' == '' ">C:\Users\Nacho\.nuget\packages\microsoft.codeanalysis.analyzers\1.1.0</PkgMicrosoft_CodeAnalysis_Analyzers>
|
||||||
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Controladora")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Controladora")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+cefd645974788c21dbd8ecb38aaa78d8ac04dd4b")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Controladora")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Controladora")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Controladora")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Controladora")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
f121c5eeefa8c5e39430715ad45c0dbadc6c8ad0
|
41b9ae2cc417f11ef0d05afd64f424d30011ec3381b04e193604d3f4663cdb67
|
||||||
|
|||||||
@@ -8,4 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Controladora
|
build_property.RootNamespace = Controladora
|
||||||
build_property.ProjectDir = C:\Users\Nacho\Desktop\verdadero\Controladora\
|
build_property.ProjectDir = C:\Users\Nacho\Source\Repos\Final_OOP\Controladora\
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
|||||||
a8e0260e0db6be55f0b0f28b550784baab05fd07
|
19830861cd564e51db0c3967ce8e2d2c457eecffb478d0402938a76286038bed
|
||||||
|
|||||||
@@ -10,3 +10,26 @@ C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.dll
|
|||||||
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\refint\Controladora.dll
|
||||||
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.pdb
|
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\Controladora.pdb
|
||||||
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\ref\Controladora.dll
|
C:\Users\Nacho\Desktop\verdadero\Controladora\obj\Debug\net6.0\ref\Controladora.dll
|
||||||
|
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
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,10 +1,10 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// Este código fue generado por una herramienta.
|
||||||
// Runtime Version:4.0.30319.42000
|
// Versión de runtime:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
|
||||||
// the code is regenerated.
|
// se vuelve a generar el código.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -14,10 +14,10 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Controladora")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Controladora")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[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.AssemblyProductAttribute("Controladora")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Controladora")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Controladora")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[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.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Controladora
|
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,8 +1,309 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "u0tQWSTecwpOeF8ex2Z7+it4hGACCdiYQps7/HOOR0/624pNMGrWSPWZ3zKYoaOmpwNfzdme3OEpJVxXSSHrUw==",
|
"dgSpecHash": "MYQDimuvgTLgdr4nkAgRSaHTw8GikSKj95s3ws08wKEVVrpNozmS3GJxrppl/rSuADCp+u9k9/QhTzUwq8ILpw==",
|
||||||
"success": true,
|
"success": false,
|
||||||
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Controladora\\Controladora.csproj",
|
"projectFilePath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Controladora\\Controladora.csproj",
|
||||||
"expectedPackageFiles": [],
|
"expectedPackageFiles": [
|
||||||
"logs": []
|
"C:\\Users\\Nacho\\.nuget\\packages\\emailer\\1.0.0\\emailer.1.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\libuv\\1.10.0\\libuv.1.10.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.applicationinsights\\2.4.0\\microsoft.applicationinsights.2.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.applicationinsights.aspnetcore\\2.1.1\\microsoft.applicationinsights.aspnetcore.2.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.applicationinsights.dependencycollector\\2.4.1\\microsoft.applicationinsights.dependencycollector.2.4.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore\\2.0.2\\microsoft.aspnetcore.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.all\\2.0.7\\microsoft.aspnetcore.all.2.0.7.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.antiforgery\\2.0.2\\microsoft.aspnetcore.antiforgery.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.applicationinsights.hostingstartup\\2.0.2\\microsoft.aspnetcore.applicationinsights.hostingstartup.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authentication\\2.0.3\\microsoft.aspnetcore.authentication.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authentication.abstractions\\2.0.2\\microsoft.aspnetcore.authentication.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authentication.cookies\\2.0.3\\microsoft.aspnetcore.authentication.cookies.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authentication.core\\2.0.2\\microsoft.aspnetcore.authentication.core.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authentication.facebook\\2.0.3\\microsoft.aspnetcore.authentication.facebook.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authentication.google\\2.0.3\\microsoft.aspnetcore.authentication.google.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authentication.jwtbearer\\2.0.3\\microsoft.aspnetcore.authentication.jwtbearer.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authentication.microsoftaccount\\2.0.3\\microsoft.aspnetcore.authentication.microsoftaccount.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authentication.oauth\\2.0.3\\microsoft.aspnetcore.authentication.oauth.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authentication.openidconnect\\2.0.3\\microsoft.aspnetcore.authentication.openidconnect.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authentication.twitter\\2.0.3\\microsoft.aspnetcore.authentication.twitter.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authorization\\2.0.3\\microsoft.aspnetcore.authorization.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.authorization.policy\\2.0.3\\microsoft.aspnetcore.authorization.policy.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.azureappservices.hostingstartup\\2.0.2\\microsoft.aspnetcore.azureappservices.hostingstartup.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.azureappservicesintegration\\2.0.2\\microsoft.aspnetcore.azureappservicesintegration.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.cookiepolicy\\2.0.3\\microsoft.aspnetcore.cookiepolicy.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.cors\\2.0.2\\microsoft.aspnetcore.cors.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.cryptography.internal\\2.0.2\\microsoft.aspnetcore.cryptography.internal.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.cryptography.keyderivation\\2.0.2\\microsoft.aspnetcore.cryptography.keyderivation.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.dataprotection\\2.0.2\\microsoft.aspnetcore.dataprotection.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.dataprotection.abstractions\\2.0.2\\microsoft.aspnetcore.dataprotection.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.dataprotection.azurestorage\\2.0.2\\microsoft.aspnetcore.dataprotection.azurestorage.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.dataprotection.extensions\\2.0.2\\microsoft.aspnetcore.dataprotection.extensions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.diagnostics\\2.0.2\\microsoft.aspnetcore.diagnostics.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.diagnostics.abstractions\\2.0.2\\microsoft.aspnetcore.diagnostics.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.diagnostics.entityframeworkcore\\2.0.2\\microsoft.aspnetcore.diagnostics.entityframeworkcore.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.hosting\\2.0.2\\microsoft.aspnetcore.hosting.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.hosting.abstractions\\2.0.2\\microsoft.aspnetcore.hosting.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.hosting.server.abstractions\\2.0.2\\microsoft.aspnetcore.hosting.server.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.html.abstractions\\2.0.1\\microsoft.aspnetcore.html.abstractions.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.http\\2.0.2\\microsoft.aspnetcore.http.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.http.abstractions\\2.0.2\\microsoft.aspnetcore.http.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.http.extensions\\2.0.2\\microsoft.aspnetcore.http.extensions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.http.features\\2.0.2\\microsoft.aspnetcore.http.features.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.httpoverrides\\2.0.2\\microsoft.aspnetcore.httpoverrides.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.identity\\2.0.2\\microsoft.aspnetcore.identity.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.identity.entityframeworkcore\\2.0.2\\microsoft.aspnetcore.identity.entityframeworkcore.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.jsonpatch\\2.0.0\\microsoft.aspnetcore.jsonpatch.2.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.localization\\2.0.2\\microsoft.aspnetcore.localization.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.localization.routing\\2.0.2\\microsoft.aspnetcore.localization.routing.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.middlewareanalysis\\2.0.2\\microsoft.aspnetcore.middlewareanalysis.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc\\2.0.3\\microsoft.aspnetcore.mvc.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.abstractions\\2.0.3\\microsoft.aspnetcore.mvc.abstractions.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.apiexplorer\\2.0.3\\microsoft.aspnetcore.mvc.apiexplorer.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.core\\2.0.3\\microsoft.aspnetcore.mvc.core.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.cors\\2.0.3\\microsoft.aspnetcore.mvc.cors.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.dataannotations\\2.0.3\\microsoft.aspnetcore.mvc.dataannotations.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.formatters.json\\2.0.3\\microsoft.aspnetcore.mvc.formatters.json.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.formatters.xml\\2.0.3\\microsoft.aspnetcore.mvc.formatters.xml.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.localization\\2.0.3\\microsoft.aspnetcore.mvc.localization.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.razor\\2.0.3\\microsoft.aspnetcore.mvc.razor.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.razor.extensions\\2.0.2\\microsoft.aspnetcore.mvc.razor.extensions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.razor.viewcompilation\\2.0.3\\microsoft.aspnetcore.mvc.razor.viewcompilation.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.razorpages\\2.0.3\\microsoft.aspnetcore.mvc.razorpages.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.taghelpers\\2.0.3\\microsoft.aspnetcore.mvc.taghelpers.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.mvc.viewfeatures\\2.0.3\\microsoft.aspnetcore.mvc.viewfeatures.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.nodeservices\\2.0.3\\microsoft.aspnetcore.nodeservices.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.owin\\2.0.2\\microsoft.aspnetcore.owin.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.razor\\2.0.2\\microsoft.aspnetcore.razor.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.razor.language\\2.0.2\\microsoft.aspnetcore.razor.language.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.razor.runtime\\2.0.2\\microsoft.aspnetcore.razor.runtime.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.responsecaching\\2.0.2\\microsoft.aspnetcore.responsecaching.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.responsecaching.abstractions\\2.0.2\\microsoft.aspnetcore.responsecaching.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.responsecompression\\2.0.2\\microsoft.aspnetcore.responsecompression.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.rewrite\\2.0.2\\microsoft.aspnetcore.rewrite.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.routing\\2.0.2\\microsoft.aspnetcore.routing.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.routing.abstractions\\2.0.2\\microsoft.aspnetcore.routing.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.server.httpsys\\2.0.3\\microsoft.aspnetcore.server.httpsys.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.server.iisintegration\\2.0.2\\microsoft.aspnetcore.server.iisintegration.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.server.kestrel\\2.0.2\\microsoft.aspnetcore.server.kestrel.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.server.kestrel.core\\2.0.2\\microsoft.aspnetcore.server.kestrel.core.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.server.kestrel.https\\2.0.2\\microsoft.aspnetcore.server.kestrel.https.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.server.kestrel.transport.abstractions\\2.0.2\\microsoft.aspnetcore.server.kestrel.transport.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.server.kestrel.transport.libuv\\2.0.2\\microsoft.aspnetcore.server.kestrel.transport.libuv.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.session\\2.0.2\\microsoft.aspnetcore.session.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.spaservices\\2.0.3\\microsoft.aspnetcore.spaservices.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.staticfiles\\2.0.2\\microsoft.aspnetcore.staticfiles.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.websockets\\2.0.2\\microsoft.aspnetcore.websockets.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.webutilities\\2.0.2\\microsoft.aspnetcore.webutilities.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.azure.keyvault\\2.3.2\\microsoft.azure.keyvault.2.3.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.azure.keyvault.webkey\\2.0.7\\microsoft.azure.keyvault.webkey.2.0.7.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.codeanalysis.analyzers\\1.1.0\\microsoft.codeanalysis.analyzers.1.1.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.codeanalysis.common\\2.3.1\\microsoft.codeanalysis.common.2.3.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.codeanalysis.csharp\\2.3.1\\microsoft.codeanalysis.csharp.2.3.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.codeanalysis.razor\\2.0.2\\microsoft.codeanalysis.razor.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.csharp\\4.4.0\\microsoft.csharp.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.data.edm\\5.8.2\\microsoft.data.edm.5.8.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.data.odata\\5.8.2\\microsoft.data.odata.5.8.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.data.sqlite\\2.0.1\\microsoft.data.sqlite.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.data.sqlite.core\\2.0.1\\microsoft.data.sqlite.core.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.dotnet.platformabstractions\\2.0.3\\microsoft.dotnet.platformabstractions.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.entityframeworkcore\\2.0.2\\microsoft.entityframeworkcore.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.entityframeworkcore.design\\2.0.2\\microsoft.entityframeworkcore.design.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.entityframeworkcore.inmemory\\2.0.2\\microsoft.entityframeworkcore.inmemory.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.entityframeworkcore.relational\\2.0.2\\microsoft.entityframeworkcore.relational.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite\\2.0.2\\microsoft.entityframeworkcore.sqlite.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.entityframeworkcore.sqlite.core\\2.0.2\\microsoft.entityframeworkcore.sqlite.core.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.entityframeworkcore.sqlserver\\2.0.2\\microsoft.entityframeworkcore.sqlserver.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.entityframeworkcore.tools\\2.0.2\\microsoft.entityframeworkcore.tools.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.caching.abstractions\\2.0.1\\microsoft.extensions.caching.abstractions.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.caching.memory\\2.0.1\\microsoft.extensions.caching.memory.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.caching.redis\\2.0.1\\microsoft.extensions.caching.redis.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.caching.sqlserver\\2.0.1\\microsoft.extensions.caching.sqlserver.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.configuration\\2.0.1\\microsoft.extensions.configuration.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\2.0.1\\microsoft.extensions.configuration.abstractions.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.configuration.azurekeyvault\\2.0.1\\microsoft.extensions.configuration.azurekeyvault.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.configuration.binder\\2.0.1\\microsoft.extensions.configuration.binder.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.configuration.commandline\\2.0.1\\microsoft.extensions.configuration.commandline.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.configuration.environmentvariables\\2.0.1\\microsoft.extensions.configuration.environmentvariables.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\2.0.1\\microsoft.extensions.configuration.fileextensions.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.configuration.ini\\2.0.1\\microsoft.extensions.configuration.ini.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.configuration.json\\2.0.1\\microsoft.extensions.configuration.json.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.configuration.usersecrets\\2.0.1\\microsoft.extensions.configuration.usersecrets.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.configuration.xml\\2.0.1\\microsoft.extensions.configuration.xml.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\2.0.0\\microsoft.extensions.dependencyinjection.2.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\2.0.0\\microsoft.extensions.dependencyinjection.abstractions.2.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.dependencymodel\\2.0.3\\microsoft.extensions.dependencymodel.2.0.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.diagnosticadapter\\2.0.1\\microsoft.extensions.diagnosticadapter.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\2.0.1\\microsoft.extensions.fileproviders.abstractions.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.fileproviders.composite\\2.0.1\\microsoft.extensions.fileproviders.composite.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.fileproviders.embedded\\2.0.1\\microsoft.extensions.fileproviders.embedded.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\2.0.1\\microsoft.extensions.fileproviders.physical.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\2.0.1\\microsoft.extensions.filesystemglobbing.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.hosting.abstractions\\2.0.2\\microsoft.extensions.hosting.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.identity.core\\2.0.2\\microsoft.extensions.identity.core.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.identity.stores\\2.0.2\\microsoft.extensions.identity.stores.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.localization\\2.0.2\\microsoft.extensions.localization.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.localization.abstractions\\2.0.2\\microsoft.extensions.localization.abstractions.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.logging\\2.0.1\\microsoft.extensions.logging.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\2.0.1\\microsoft.extensions.logging.abstractions.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.logging.azureappservices\\2.0.1\\microsoft.extensions.logging.azureappservices.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.logging.configuration\\2.0.1\\microsoft.extensions.logging.configuration.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.logging.console\\2.0.1\\microsoft.extensions.logging.console.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.logging.debug\\2.0.1\\microsoft.extensions.logging.debug.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.logging.eventsource\\2.0.1\\microsoft.extensions.logging.eventsource.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.logging.tracesource\\2.0.1\\microsoft.extensions.logging.tracesource.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.objectpool\\2.0.0\\microsoft.extensions.objectpool.2.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.options\\2.0.1\\microsoft.extensions.options.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\2.0.1\\microsoft.extensions.options.configurationextensions.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.platformabstractions\\1.1.0\\microsoft.extensions.platformabstractions.1.1.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.primitives\\2.0.0\\microsoft.extensions.primitives.2.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.extensions.webencoders\\2.0.1\\microsoft.extensions.webencoders.2.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.identitymodel.clients.activedirectory\\3.14.1\\microsoft.identitymodel.clients.activedirectory.3.14.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.identitymodel.logging\\1.1.4\\microsoft.identitymodel.logging.1.1.4.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.identitymodel.protocols\\2.1.4\\microsoft.identitymodel.protocols.2.1.4.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.identitymodel.protocols.openidconnect\\2.1.4\\microsoft.identitymodel.protocols.openidconnect.2.1.4.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.identitymodel.tokens\\5.1.4\\microsoft.identitymodel.tokens.5.1.4.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.net.http.headers\\2.0.2\\microsoft.net.http.headers.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.netcore.platforms\\2.0.0\\microsoft.netcore.platforms.2.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.rest.clientruntime\\2.3.8\\microsoft.rest.clientruntime.2.3.8.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.rest.clientruntime.azure\\3.3.7\\microsoft.rest.clientruntime.azure.3.3.7.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.visualstudio.web.browserlink\\2.0.2\\microsoft.visualstudio.web.browserlink.2.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.win32.primitives\\4.3.0\\microsoft.win32.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.win32.registry\\4.4.0\\microsoft.win32.registry.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\netstandard.library\\1.6.1\\netstandard.library.1.6.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\newtonsoft.json\\10.0.1\\newtonsoft.json.10.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\newtonsoft.json.bson\\1.0.1\\newtonsoft.json.bson.1.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\remotion.linq\\2.1.1\\remotion.linq.2.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.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",
|
||||||
|
"C:\\Users\\Nacho\\.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",
|
||||||
|
"C:\\Users\\Nacho\\.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",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\runtime.native.system\\4.3.0\\runtime.native.system.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\runtime.native.system.io.compression\\4.3.0\\runtime.native.system.io.compression.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\runtime.native.system.net.http\\4.3.0\\runtime.native.system.net.http.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\runtime.native.system.net.security\\4.3.0\\runtime.native.system.net.security.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\runtime.native.system.security.cryptography.apple\\4.3.0\\runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.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",
|
||||||
|
"C:\\Users\\Nacho\\.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",
|
||||||
|
"C:\\Users\\Nacho\\.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",
|
||||||
|
"C:\\Users\\Nacho\\.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",
|
||||||
|
"C:\\Users\\Nacho\\.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",
|
||||||
|
"C:\\Users\\Nacho\\.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",
|
||||||
|
"C:\\Users\\Nacho\\.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",
|
||||||
|
"C:\\Users\\Nacho\\.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",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\runtime.win-x64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\runtime.win-x86.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\sqlitepclraw.bundle_green\\1.1.7\\sqlitepclraw.bundle_green.1.1.7.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\sqlitepclraw.core\\1.1.7\\sqlitepclraw.core.1.1.7.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\sqlitepclraw.lib.e_sqlite3.linux\\1.1.7\\sqlitepclraw.lib.e_sqlite3.linux.1.1.7.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\sqlitepclraw.lib.e_sqlite3.osx\\1.1.7\\sqlitepclraw.lib.e_sqlite3.osx.1.1.7.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\sqlitepclraw.lib.e_sqlite3.v110_xp\\1.1.7\\sqlitepclraw.lib.e_sqlite3.v110_xp.1.1.7.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\sqlitepclraw.provider.e_sqlite3.netstandard11\\1.1.7\\sqlitepclraw.provider.e_sqlite3.netstandard11.1.1.7.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\stackexchange.redis.strongname\\1.2.4\\stackexchange.redis.strongname.1.2.4.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.appcontext\\4.3.0\\system.appcontext.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.buffers\\4.4.0\\system.buffers.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.collections.concurrent\\4.3.0\\system.collections.concurrent.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.collections.immutable\\1.4.0\\system.collections.immutable.1.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.collections.nongeneric\\4.3.0\\system.collections.nongeneric.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.collections.specialized\\4.3.0\\system.collections.specialized.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.componentmodel\\4.3.0\\system.componentmodel.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.componentmodel.annotations\\4.4.0\\system.componentmodel.annotations.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.componentmodel.primitives\\4.3.0\\system.componentmodel.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.componentmodel.typeconverter\\4.3.0\\system.componentmodel.typeconverter.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.console\\4.3.0\\system.console.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.data.sqlclient\\4.4.3\\system.data.sqlclient.4.4.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.diagnostics.contracts\\4.3.0\\system.diagnostics.contracts.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.diagnostics.diagnosticsource\\4.4.1\\system.diagnostics.diagnosticsource.4.4.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.diagnostics.fileversioninfo\\4.3.0\\system.diagnostics.fileversioninfo.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.diagnostics.stacktrace\\4.3.0\\system.diagnostics.stacktrace.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.diagnostics.tools\\4.3.0\\system.diagnostics.tools.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.diagnostics.tracing\\4.3.0\\system.diagnostics.tracing.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.dynamic.runtime\\4.3.0\\system.dynamic.runtime.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.globalization.calendars\\4.3.0\\system.globalization.calendars.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.globalization.extensions\\4.3.0\\system.globalization.extensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.identitymodel.tokens.jwt\\5.1.4\\system.identitymodel.tokens.jwt.5.1.4.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.interactive.async\\3.1.1\\system.interactive.async.3.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.io.compression\\4.3.0\\system.io.compression.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.io.compression.zipfile\\4.3.0\\system.io.compression.zipfile.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.io.filesystem\\4.3.0\\system.io.filesystem.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.io.filesystem.primitives\\4.3.0\\system.io.filesystem.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.linq\\4.3.0\\system.linq.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.linq.expressions\\4.3.0\\system.linq.expressions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.linq.queryable\\4.0.1\\system.linq.queryable.4.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.net.http\\4.3.0\\system.net.http.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.net.nameresolution\\4.3.0\\system.net.nameresolution.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.net.primitives\\4.3.0\\system.net.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.net.security\\4.3.0\\system.net.security.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.net.sockets\\4.3.0\\system.net.sockets.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.numerics.vectors\\4.4.0\\system.numerics.vectors.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.objectmodel\\4.3.0\\system.objectmodel.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.private.datacontractserialization\\4.1.1\\system.private.datacontractserialization.4.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.reflection.emit\\4.3.0\\system.reflection.emit.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.reflection.emit.ilgeneration\\4.3.0\\system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.reflection.emit.lightweight\\4.3.0\\system.reflection.emit.lightweight.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.reflection.extensions\\4.3.0\\system.reflection.extensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.reflection.metadata\\1.5.0\\system.reflection.metadata.1.5.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.reflection.typeextensions\\4.3.0\\system.reflection.typeextensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.4.0\\system.runtime.compilerservices.unsafe.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\system.runtime.extensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.runtime.interopservices.runtimeinformation\\4.3.0\\system.runtime.interopservices.runtimeinformation.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.runtime.numerics\\4.3.0\\system.runtime.numerics.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.runtime.serialization.formatters\\4.3.0\\system.runtime.serialization.formatters.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.runtime.serialization.json\\4.0.2\\system.runtime.serialization.json.4.0.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.runtime.serialization.primitives\\4.3.0\\system.runtime.serialization.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.accesscontrol\\4.4.0\\system.security.accesscontrol.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.claims\\4.3.0\\system.security.claims.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.cryptography.algorithms\\4.3.0\\system.security.cryptography.algorithms.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.cryptography.cng\\4.3.0\\system.security.cryptography.cng.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.cryptography.csp\\4.3.0\\system.security.cryptography.csp.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.cryptography.encoding\\4.3.0\\system.security.cryptography.encoding.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.cryptography.openssl\\4.3.0\\system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.cryptography.primitives\\4.3.0\\system.security.cryptography.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.cryptography.x509certificates\\4.3.0\\system.security.cryptography.x509certificates.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.cryptography.xml\\4.4.0\\system.security.cryptography.xml.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.principal\\4.3.0\\system.security.principal.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.security.principal.windows\\4.4.0\\system.security.principal.windows.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.spatial\\5.8.2\\system.spatial.5.8.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.text.encoding.codepages\\4.4.0\\system.text.encoding.codepages.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.text.encoding.extensions\\4.3.0\\system.text.encoding.extensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.text.encodings.web\\4.4.0\\system.text.encodings.web.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.text.regularexpressions\\4.3.0\\system.text.regularexpressions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.threading.tasks.extensions\\4.4.0\\system.threading.tasks.extensions.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.threading.tasks.parallel\\4.3.0\\system.threading.tasks.parallel.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.threading.thread\\4.3.0\\system.threading.thread.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.threading.threadpool\\4.3.0\\system.threading.threadpool.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.threading.timer\\4.3.0\\system.threading.timer.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.valuetuple\\4.4.0\\system.valuetuple.4.4.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.xml.xmldocument\\4.3.0\\system.xml.xmldocument.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.xml.xmlserializer\\4.0.11\\system.xml.xmlserializer.4.0.11.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.xml.xpath\\4.3.0\\system.xml.xpath.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\system.xml.xpath.xdocument\\4.3.0\\system.xml.xpath.xdocument.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Nacho\\.nuget\\packages\\windowsazure.storage\\8.1.4\\windowsazure.storage.8.1.4.nupkg.sha512"
|
||||||
|
],
|
||||||
|
"logs": [
|
||||||
|
{
|
||||||
|
"code": "NU1101",
|
||||||
|
"level": "Error",
|
||||||
|
"message": "No se encuentra el paquete webhookSharp. No existe ningún paquete con este id. en los orígenes: Microsoft Visual Studio Offline Packages, nuget.org",
|
||||||
|
"libraryId": "webhookSharp",
|
||||||
|
"targetGraphs": [
|
||||||
|
"net6.0"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -9,7 +9,6 @@ namespace Entidades
|
|||||||
public class Categoria
|
public class Categoria
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
public string Descripcion { get; set; }
|
public string Descripcion { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,15 +9,9 @@ namespace Entidades
|
|||||||
public class Cliente
|
public class Cliente
|
||||||
{
|
{
|
||||||
public string Cuit { get; set; }
|
public string Cuit { get; set; }
|
||||||
|
|
||||||
public string Nombre { get; set; }
|
public string Nombre { get; set; }
|
||||||
|
|
||||||
public string Apellido { get; set; }
|
public string Apellido { get; set; }
|
||||||
|
|
||||||
public string Direccion { get; set; }
|
public string Direccion { get; set; }
|
||||||
|
|
||||||
public string Correo { get; set; }
|
public string Correo { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -5,8 +5,6 @@
|
|||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
public int Cantidad { get; set; }
|
public int Cantidad { get; set; }
|
||||||
public T Producto { get; set; }
|
public T Producto { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -6,12 +6,10 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace Entidades
|
namespace Entidades
|
||||||
{
|
{
|
||||||
public class DetalleFactura
|
public class DetalleFactura: Detalle<Producto>
|
||||||
{
|
{
|
||||||
public int IdFactura { get; set; }
|
public int IdFactura { get; set; }
|
||||||
|
|
||||||
public double PrecioUnitario { get; set; }
|
public double PrecioUnitario { get; set; }
|
||||||
|
|
||||||
public double Subtotal { get; set; }
|
public double Subtotal { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace Entidades
|
namespace Entidades
|
||||||
{
|
{
|
||||||
public class DetalleOrdenDeCompra
|
public class DetalleOrdenDeCompra: Detalle<Producto>
|
||||||
{
|
{
|
||||||
public int IdOrdenDeCompra { get; set; }
|
public int IdOrdenDeCompra { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace Entidades
|
namespace Entidades
|
||||||
{
|
{
|
||||||
public class DetallePedido : Detalle<T>
|
public class DetallePedido : Detalle<Producto>
|
||||||
{
|
{
|
||||||
public int IdPedido { get; set; }
|
public int IdPedido { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,10 +6,9 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace Entidades
|
namespace Entidades
|
||||||
{
|
{
|
||||||
public class DetallePresupuesto
|
public class DetallePresupuesto: Detalle<Producto>
|
||||||
{
|
{
|
||||||
public int IdPresupuesto { get; set; }
|
public int IdPresupuesto { get; set; }
|
||||||
public double CostoUnitario { get; set; }
|
public double CostoUnitario { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,5 +12,4 @@ namespace Entidades
|
|||||||
Enlatado,
|
Enlatado,
|
||||||
Carton
|
Carton
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,36 +9,27 @@ namespace Entidades
|
|||||||
{
|
{
|
||||||
public class Factura
|
public class Factura
|
||||||
{
|
{
|
||||||
public double Total { get; set; }
|
public int Id { get; set; }
|
||||||
public DateTime Fecha { get; set; }
|
public double Total { get; set; }
|
||||||
|
public DateTime Fecha { get; set; }
|
||||||
|
public Cliente Cliente { get; set; }
|
||||||
|
private List<DetalleFactura> detalles = new List<DetalleFactura>();
|
||||||
|
|
||||||
public Cliente Cliente { get; set; }
|
public void AñadirDetalle(DetalleFactura detalle)
|
||||||
|
|
||||||
private List<DetalleFactura> detalles { get; set; }
|
|
||||||
|
|
||||||
public ReadOnlyCollection<DetalleFactura> MostrarDetalles()
|
|
||||||
{
|
|
||||||
return detalles.AsReadOnly();
|
|
||||||
}
|
|
||||||
public void AñadirDetalle(DetalleFactura detalle)
|
|
||||||
{
|
|
||||||
detalles.Add(detalle);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void ModificarDetalle(DetalleFactura detalle )
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
public void EliminarDetalle(DetalleFactura detalle)
|
|
||||||
{
|
|
||||||
var aeliminar = detalles.Find(x => x.IdFactura == detalle.IdFactura);
|
|
||||||
if (aeliminar != null)
|
|
||||||
{
|
{
|
||||||
detalles.Remove(aeliminar);
|
detalles.Add(detalle);
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool EliminarDetalle(DetalleFactura detalle)
|
||||||
|
{
|
||||||
|
var aeliminar = detalles.Find(x => x.Id == detalle.Id);
|
||||||
|
if (aeliminar == null) return false;
|
||||||
|
return detalles.Remove(aeliminar);
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReadOnlyCollection<DetalleFactura> MostrarDetalles()
|
||||||
|
{
|
||||||
|
return detalles.AsReadOnly();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -9,13 +9,9 @@ namespace Entidades
|
|||||||
public class Lote
|
public class Lote
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
public DateTime Fecha { get; set; }
|
public DateTime Fecha { get; set; }
|
||||||
|
|
||||||
public Producto Producto { get; set; }
|
public Producto Producto { get; set; }
|
||||||
|
|
||||||
public long CantidadDeProductos { get; set; }
|
public long CantidadDeProductos { get; set; }
|
||||||
|
|
||||||
public bool Habilitado { get; set; }
|
public bool Habilitado { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,38 +9,25 @@ namespace Entidades
|
|||||||
{
|
{
|
||||||
public class OrdenDeCompra
|
public class OrdenDeCompra
|
||||||
{
|
{
|
||||||
public OrdenDeCompra()
|
|
||||||
{
|
|
||||||
Productos = new List<DetalleOrdenDeCompra>();
|
|
||||||
}
|
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
private List<DetalleOrdenDeCompra> detalles = new List<DetalleOrdenDeCompra>();
|
||||||
private List<DetalleOrdenDeCompra> Productos { get; set; }
|
|
||||||
|
|
||||||
public Proveedor Proveedor { get; set; }
|
public Proveedor Proveedor { get; set; }
|
||||||
|
|
||||||
public ReadOnlyCollection<DetalleOrdenDeCompra> MostrarDetalles()
|
|
||||||
{
|
|
||||||
return Productos.AsReadOnly();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void AñadirDetalle(DetalleOrdenDeCompra detalle)
|
public void AñadirDetalle(DetalleOrdenDeCompra detalle)
|
||||||
{
|
{
|
||||||
Productos.Add(detalle);
|
detalles.Add(detalle);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ModificarDetalle(DetalleOrdenDeCompra detalle)
|
public bool EliminarDetalle(DetalleOrdenDeCompra detalle)
|
||||||
{
|
{
|
||||||
|
var aeliminar = detalles.Find(x => x.Id == detalle.Id);
|
||||||
|
if (aeliminar == null) return false;
|
||||||
|
return detalles.Remove(aeliminar);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EliminarDetalle(DetalleOrdenDeCompra detalle)
|
public ReadOnlyCollection<DetalleOrdenDeCompra> MostrarDetalles()
|
||||||
{
|
{
|
||||||
var aeliminar = Productos.Find(x => x.IdOrdenDeCompra == detalle.IdOrdenDeCompra);
|
return detalles.AsReadOnly();
|
||||||
if (aeliminar != null)
|
|
||||||
{
|
|
||||||
Productos.Remove(aeliminar);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,33 +9,26 @@ namespace Entidades
|
|||||||
{
|
{
|
||||||
public class PedidoDePresupuesto
|
public class PedidoDePresupuesto
|
||||||
{
|
{
|
||||||
public PedidoDePresupuesto()
|
|
||||||
{
|
|
||||||
detallesPedidos = new List<DetallePedido>();
|
|
||||||
}
|
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
public DateTime Fecha { get; set; }
|
public DateTime Fecha { get; set; }
|
||||||
|
private List<DetallePedido> detallesPedidos = new List<DetallePedido>();
|
||||||
private List<DetallePedido> detallesPedidos { get; set; }
|
|
||||||
|
|
||||||
public Proveedor Proveedor { get; set; }
|
public Proveedor Proveedor { get; set; }
|
||||||
|
|
||||||
public void AñadirDetalle(DetallePedido detalle)
|
public void AñadirDetalle(DetallePedido detalle)
|
||||||
{
|
{
|
||||||
detallesPedidos.Add(detalle);
|
detallesPedidos.Add(detalle);
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool EliminarDetalle(DetallePedido detalle)
|
||||||
|
{
|
||||||
|
var aeliminar = detallesPedidos.Find(x => x.Id == detalle.Id);
|
||||||
|
if (aeliminar == null) return false;
|
||||||
|
return detallesPedidos.Remove(aeliminar);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ReadOnlyCollection<DetallePedido> MostrarDetalles()
|
public ReadOnlyCollection<DetallePedido> MostrarDetalles()
|
||||||
{
|
{
|
||||||
return detallesPedidos.AsReadOnly();
|
return detallesPedidos.AsReadOnly();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EliminarDetalle(DetallePedido detalle)
|
|
||||||
{
|
|
||||||
var aeliminar = detallesPedidos.Find(x => x.Id == detalle.Id);
|
|
||||||
detallesPedidos.Remove(aeliminar);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,17 +10,25 @@ namespace Entidades
|
|||||||
public class Presupuesto
|
public class Presupuesto
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
public DateTime Fecha { get; set; }
|
public DateTime Fecha { get; set; }
|
||||||
|
|
||||||
public bool Habilitado { get; set; }
|
public bool Habilitado { get; set; }
|
||||||
|
|
||||||
public bool Aceptado { get; set; }
|
public bool Aceptado { get; set; }
|
||||||
|
|
||||||
private List<DetallePresupuesto> Detalles { get; set; }
|
|
||||||
|
|
||||||
public Proveedor Proveedor { get; set; }
|
public Proveedor Proveedor { get; set; }
|
||||||
|
private List<DetallePresupuesto> detalles = new List<DetallePresupuesto>();
|
||||||
|
|
||||||
|
public void AñadirDetalle(DetallePresupuesto det) {
|
||||||
|
detalles.Add(det);
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool EliminarDetalle(DetallePresupuesto det) {
|
||||||
|
var dAEliminar = detalles.FirstOrDefault(x => x.Id == det.Id);
|
||||||
|
if (dAEliminar == null) return false;
|
||||||
|
return detalles.Remove(dAEliminar);
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReadOnlyCollection<DetallePresupuesto> MostrarDetalles()
|
||||||
|
{
|
||||||
|
return detalles.AsReadOnly();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
@@ -9,17 +10,23 @@ namespace Entidades
|
|||||||
public class Producto
|
public class Producto
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
||||||
public string Nombre { get; set; }
|
public string Nombre { get; set; }
|
||||||
|
|
||||||
public double Precio { get; set; }
|
public double Precio { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public bool Habilitado { get; set; }
|
public bool Habilitado { get; set; }
|
||||||
|
private List<Categoria> categorias = new List<Categoria>();
|
||||||
|
|
||||||
|
public void AñadirCategoria(Categoria cat) {
|
||||||
|
categorias.Add(cat);
|
||||||
|
}
|
||||||
|
|
||||||
private List<Categoria> Categorias { get; set; }
|
public bool EliminarCategoria(Categoria cat) {
|
||||||
|
var cAEliminar = categorias.FirstOrDefault(x => x.Id == cat.Id);
|
||||||
|
if (cAEliminar == null) return false;
|
||||||
|
return categorias.Remove(cAEliminar);
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReadOnlyCollection<Categoria> MostrarCategorias(){
|
||||||
|
return categorias.AsReadOnly();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace Entidades
|
namespace Entidades
|
||||||
{
|
{
|
||||||
public class ProductoNoPercedero
|
public class ProductoNoPercedero: Producto
|
||||||
{
|
{
|
||||||
public EnvaseTipo TipoDeEnvase { get; set; }
|
public EnvaseTipo TipoDeEnvase { get; set; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace Entidades
|
namespace Entidades
|
||||||
{
|
{
|
||||||
public class ProductoPercedero
|
public class ProductoPercedero: Producto
|
||||||
{
|
{
|
||||||
public int MesesHastaConsumoPreferente { get; set; }
|
public int MesesHastaConsumoPreferente { get; set; }
|
||||||
public int MesesHastaVencimiento { get; set; }
|
public int MesesHastaVencimiento { get; set; }
|
||||||
|
|||||||
@@ -8,12 +8,11 @@ namespace Entidades
|
|||||||
{
|
{
|
||||||
public class Proveedor
|
public class Proveedor
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public Int64 Cuit { get; set; }
|
||||||
|
|
||||||
public string Nombre { get; set; }
|
public string Nombre { get; set; }
|
||||||
|
|
||||||
public string RazonSocial { get; set; }
|
public string RazonSocial { get; set; }
|
||||||
|
public string Direccion { get; set; }
|
||||||
public bool Habilitado { get; set; }
|
public bool Habilitado { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,29 +11,23 @@ namespace Entidades
|
|||||||
public class Remito
|
public class Remito
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
private List<Lote> lotesDeProductosEntregados = new List<Lote>();
|
||||||
private List<Lote> LotesDeProductosEntregados { get; set; }
|
|
||||||
|
|
||||||
public Proveedor Proveedor { get; set; }
|
public Proveedor Proveedor { get; set; }
|
||||||
|
|
||||||
public ReadOnlyCollection<Lote> MostrarLotes()
|
public ReadOnlyCollection<Lote> MostrarLotes()
|
||||||
{
|
{
|
||||||
return LotesDeProductosEntregados.AsReadOnly();
|
return lotesDeProductosEntregados.AsReadOnly();
|
||||||
}
|
}
|
||||||
public bool AñadirLote(Lote lote)
|
public void AñadirLote(Lote lote)
|
||||||
{
|
{
|
||||||
bool ret = false;
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
LotesDeProductosEntregados.Add(lote);
|
lotesDeProductosEntregados.Add(lote);
|
||||||
ret= true;
|
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
|
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Entidades")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Entidades")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+cefd645974788c21dbd8ecb38aaa78d8ac04dd4b")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Entidades")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Entidades")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1589bc3738d4d92e8df1687e356ae3d2c87cb333
|
a687cba9ed7450e5c700a51cb95b1f9a0a0edc042a19f86ad94db189023a05ac
|
||||||
|
|||||||
@@ -8,4 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Entidades
|
build_property.RootNamespace = Entidades
|
||||||
build_property.ProjectDir = C:\Users\Nacho\Desktop\verdadero\Entidades\
|
build_property.ProjectDir = C:\Users\Nacho\Source\Repos\Final_OOP\Entidades\
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1,24 +1,20 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj": {}
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj": {
|
"C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"projectName": "Entidades",
|
"projectName": "Entidades",
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\obj\\",
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"fallbackFolders": [
|
|
||||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
|
||||||
],
|
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
|
||||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
],
|
],
|
||||||
"originalTargetFrameworks": [
|
"originalTargetFrameworks": [
|
||||||
@@ -38,6 +34,11 @@
|
|||||||
"warnAsError": [
|
"warnAsError": [
|
||||||
"NU1605"
|
"NU1605"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
@@ -59,7 +60,7 @@
|
|||||||
"privateAssets": "all"
|
"privateAssets": "all"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,12 +5,11 @@
|
|||||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nacho\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nacho\.nuget\packages\</NuGetPackageFolders>
|
||||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.4.0</NuGetToolVersion>
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.2</NuGetToolVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
<SourceRoot Include="C:\Users\Nacho\.nuget\packages\" />
|
<SourceRoot Include="C:\Users\Nacho\.nuget\packages\" />
|
||||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// Este código fue generado por una herramienta.
|
||||||
// Runtime Version:4.0.30319.42000
|
// Versión de runtime:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
|
||||||
// the code is regenerated.
|
// se vuelve a generar el código.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -14,10 +14,10 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Entidades")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Entidades")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[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.AssemblyProductAttribute("Entidades")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[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.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Entidades
|
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,19 @@
|
|||||||
"net6.0": []
|
"net6.0": []
|
||||||
},
|
},
|
||||||
"packageFolders": {
|
"packageFolders": {
|
||||||
"C:\\Users\\Nacho\\.nuget\\packages\\": {},
|
"C:\\Users\\Nacho\\.nuget\\packages\\": {}
|
||||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
|
||||||
},
|
},
|
||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
|
"projectUniqueName": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"projectName": "Entidades",
|
"projectName": "Entidades",
|
||||||
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
|
"projectPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\obj\\",
|
"outputPath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"fallbackFolders": [
|
|
||||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
|
||||||
],
|
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
|
||||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
],
|
],
|
||||||
"originalTargetFrameworks": [
|
"originalTargetFrameworks": [
|
||||||
@@ -45,6 +40,11 @@
|
|||||||
"warnAsError": [
|
"warnAsError": [
|
||||||
"NU1605"
|
"NU1605"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
"privateAssets": "all"
|
"privateAssets": "all"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "EfKv1rzAP1O64kLam1piP0r6XmMQp58hllO9EbJzCiEt9P6u3A0JBGuj+WL6esbN+qeMKjy+GNcUs/OIe7UhTQ==",
|
"dgSpecHash": "+9QsqENGYd4qIIPCnRA0BRL7UiFYXaYZJR2jVoACt5fTCzrycu1oHCxViXeMxzr+idMIyJGQ/11fIYTFVqnyPA==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
|
"projectFilePath": "C:\\Users\\Nacho\\Source\\Repos\\Final_OOP\\Entidades\\Entidades.csproj",
|
||||||
"expectedPackageFiles": [],
|
"expectedPackageFiles": [],
|
||||||
"logs": []
|
"logs": []
|
||||||
}
|
}
|
||||||
@@ -10,6 +10,11 @@ EndProject
|
|||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "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
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Vista", "Vista\Vista.csproj", "{8C9E8090-5D8F-42AE-9813-C68D384C6863}"
|
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}
|
||||||
|
{78A331E5-86D4-427E-AA45-5879F9E5E98B} = {78A331E5-86D4-427E-AA45-5879F9E5E98B}
|
||||||
|
{9A0960D9-C909-4B68-8BBB-8C44B9CD0E97} = {9A0960D9-C909-4B68-8BBB-8C44B9CD0E97}
|
||||||
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
namespace Modelo
|
|
||||||
{
|
|
||||||
public class Class1
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,9 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\Entidades\Entidades.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
|||||||
25
Modelo/Modelo.sln
Normal file
25
Modelo/Modelo.sln
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.5.002.0
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Modelo", "Modelo.csproj", "{332ACC5A-D3E1-4E7A-A363-BDC1CB370350}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{332ACC5A-D3E1-4E7A-A363-BDC1CB370350}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{332ACC5A-D3E1-4E7A-A363-BDC1CB370350}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{332ACC5A-D3E1-4E7A-A363-BDC1CB370350}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{332ACC5A-D3E1-4E7A-A363-BDC1CB370350}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {DFA3F249-7A0D-474C-A190-5C2E568DFB1C}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
43
Modelo/RepositorioBase.cs
Normal file
43
Modelo/RepositorioBase.cs
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public abstract class RepositorioBase<T, J>
|
||||||
|
where J : new()
|
||||||
|
{
|
||||||
|
|
||||||
|
protected List<T> almacen;
|
||||||
|
|
||||||
|
//es protected para que solo se pueda llamar desde
|
||||||
|
//las clases que implementen a esta clase
|
||||||
|
protected RepositorioBase() {
|
||||||
|
almacen = new List<T>();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Singleton thread-safe por si quiero usar "Parallel"
|
||||||
|
private static J instance = new J();
|
||||||
|
public static J Instance
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return instance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Lista el contenido del repositorio
|
||||||
|
public ReadOnlyCollection<T> Listar(){
|
||||||
|
return almacen.AsReadOnly();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Añade objetos al almacen
|
||||||
|
abstract public bool Add(T t);
|
||||||
|
|
||||||
|
// Modifica objetos del almacen
|
||||||
|
abstract public bool Mod(T t);
|
||||||
|
|
||||||
|
// Elimina objetos del almacen
|
||||||
|
abstract public bool Del(T t);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
67
Modelo/RepositorioCategoria.cs
Normal file
67
Modelo/RepositorioCategoria.cs
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioCategoria : RepositorioBase<Categoria, RepositorioCategoria>
|
||||||
|
{
|
||||||
|
override public bool Add(Categoria t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
//commit
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Categoria t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var categoriaAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (categoriaAModificar != null)
|
||||||
|
{
|
||||||
|
categoriaAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Categoria t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var categoriaAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (categoriaAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(categoriaAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
69
Modelo/RepositorioClientes.cs
Normal file
69
Modelo/RepositorioClientes.cs
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioClientes : RepositorioBase<Cliente, RepositorioClientes>
|
||||||
|
{
|
||||||
|
override public bool Add(Cliente t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Cliente t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var clienteAModificar = almacen.Find(x => x.Cuit == t.Cuit);
|
||||||
|
if (clienteAModificar != null)
|
||||||
|
{
|
||||||
|
clienteAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Cliente t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var clienteAEliminar = almacen.Find(x => x.Cuit == t.Cuit);
|
||||||
|
if (clienteAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(clienteAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
73
Modelo/RepositorioFactura.cs
Normal file
73
Modelo/RepositorioFactura.cs
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioFactura : RepositorioBase<Factura, RepositorioFactura>
|
||||||
|
{
|
||||||
|
override public bool Add(Factura t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Factura t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var facturaAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (facturaAModificar != null)
|
||||||
|
{
|
||||||
|
facturaAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Factura t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var facturaAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (facturaAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(facturaAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReadOnlyCollection<DetalleFactura> MostrarDetalles(Factura factura)
|
||||||
|
{
|
||||||
|
return factura.MostrarDetalles();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
67
Modelo/RepositorioLote.cs
Normal file
67
Modelo/RepositorioLote.cs
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioLote : RepositorioBase<Lote, RepositorioLote>
|
||||||
|
{
|
||||||
|
override public bool Add(Lote t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Lote t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var loteAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (loteAModificar != null)
|
||||||
|
{
|
||||||
|
loteAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Lote t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var loteAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (loteAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(loteAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
73
Modelo/RepositorioOrdenDeCompra.cs
Normal file
73
Modelo/RepositorioOrdenDeCompra.cs
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioOrdenDeCompra : RepositorioBase<OrdenDeCompra, RepositorioOrdenDeCompra>
|
||||||
|
{
|
||||||
|
override public bool Add(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var ordenAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (ordenAModificar != null)
|
||||||
|
{
|
||||||
|
ordenAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(OrdenDeCompra t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var ordenAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (ordenAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(ordenAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReadOnlyCollection<DetalleOrdenDeCompra> MostrarDetalles(OrdenDeCompra orden)
|
||||||
|
{
|
||||||
|
return orden.MostrarDetalles();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
73
Modelo/RepositorioPedidoDePresupuesto.cs
Normal file
73
Modelo/RepositorioPedidoDePresupuesto.cs
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioPedidoDePresupuesto : RepositorioBase<PedidoDePresupuesto, RepositorioPedidoDePresupuesto>
|
||||||
|
{
|
||||||
|
override public bool Add(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var pedidoAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (pedidoAModificar != null)
|
||||||
|
{
|
||||||
|
pedidoAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(PedidoDePresupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var pedidoAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (pedidoAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(pedidoAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ReadOnlyCollection<DetallePedido> MostrarDetalles(PedidoDePresupuesto pedido)
|
||||||
|
{
|
||||||
|
return pedido.MostrarDetalles();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
75
Modelo/RepositorioPresupuesto.cs
Normal file
75
Modelo/RepositorioPresupuesto.cs
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioPresupuesto : RepositorioBase<Presupuesto, RepositorioPresupuesto>
|
||||||
|
{
|
||||||
|
override public bool Add(Presupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Presupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var presupuestoAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (presupuestoAModificar != null)
|
||||||
|
{
|
||||||
|
|
||||||
|
presupuestoAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Presupuesto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var presupuestoAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (presupuestoAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(presupuestoAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public ReadOnlyCollection<DetallePresupuesto> MostrarDetalles(Presupuesto presupuesto)
|
||||||
|
{
|
||||||
|
return presupuesto.MostrarDetalles();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
62
Modelo/RepositorioProductos.cs
Normal file
62
Modelo/RepositorioProductos.cs
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioProductos : RepositorioBase<Producto, RepositorioProductos>
|
||||||
|
{
|
||||||
|
override public bool Add(Producto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Producto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var AModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
AModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Producto t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var AEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (AEliminar == null) return ret;
|
||||||
|
almacen.Remove(AEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
67
Modelo/RepositorioProveedor.cs
Normal file
67
Modelo/RepositorioProveedor.cs
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioProveedor : RepositorioBase<Proveedor, RepositorioProveedor>
|
||||||
|
{
|
||||||
|
override public bool Add(Proveedor t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Mod(Proveedor t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var proveedorAModificar = almacen.Find(x => x.Cuit == t.Cuit);
|
||||||
|
if (proveedorAModificar != null)
|
||||||
|
{
|
||||||
|
proveedorAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
override public bool Del(Proveedor t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var proveedorAEliminar = almacen.Find(x => x.Cuit == t.Cuit);
|
||||||
|
if (proveedorAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(proveedorAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
80
Modelo/RepositorioRemito.cs
Normal file
80
Modelo/RepositorioRemito.cs
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Runtime;
|
||||||
|
using Entidades;
|
||||||
|
|
||||||
|
namespace Modelo
|
||||||
|
{
|
||||||
|
public sealed class RepositorioRemito : RepositorioBase<Remito, RepositorioRemito>
|
||||||
|
{
|
||||||
|
|
||||||
|
override public bool Add(Remito t)
|
||||||
|
{
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
almacen.Add(t);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
override public bool Mod(Remito t)
|
||||||
|
{
|
||||||
|
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var remitoAModificar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (remitoAModificar != null)
|
||||||
|
{
|
||||||
|
|
||||||
|
remitoAModificar = t;
|
||||||
|
ret = true;
|
||||||
|
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
override public bool Del(Remito t)
|
||||||
|
{
|
||||||
|
|
||||||
|
bool ret = false;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var RemitoAEliminar = almacen.Find(x => x.Id == t.Id);
|
||||||
|
if (RemitoAEliminar != null)
|
||||||
|
{
|
||||||
|
almacen.Remove(RemitoAEliminar);
|
||||||
|
ret = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public ReadOnlyCollection<Lote> MostrarLotes(Remito remito)
|
||||||
|
{
|
||||||
|
return remito.MostrarLotes();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Modelo")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Modelo")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+cefd645974788c21dbd8ecb38aaa78d8ac04dd4b")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Modelo")]
|
[assembly: System.Reflection.AssemblyProductAttribute("Modelo")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("Modelo")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("Modelo")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
96d0d59bfa69a3c27ef653a551fb81c45157d195
|
099b8681c0fe3ea241c3236b037e92bb2b80c449b64984e5089c2c47a48ee0b9
|
||||||
|
|||||||
@@ -8,4 +8,6 @@ build_property.PlatformNeutralAssembly =
|
|||||||
build_property.EnforceExtendedAnalyzerRules =
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
build_property.RootNamespace = Modelo
|
build_property.RootNamespace = Modelo
|
||||||
build_property.ProjectDir = C:\Users\Nacho\Desktop\verdadero\Modelo\
|
build_property.ProjectDir = C:\Users\Nacho\Source\Repos\Final_OOP\Modelo\
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user