estoy cansado hay que hacer el tema de las categorias y las controladoras de productospercederos y no percederos
This commit is contained in:
@@ -4,6 +4,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Reflection.Metadata.Ecma335;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
@@ -17,6 +18,15 @@ namespace Controladora
|
||||
repositorioLotes = new(new Context());
|
||||
}
|
||||
|
||||
public string AltaStock(Remito t)
|
||||
{
|
||||
if (t == null) return "Esta Mal Cargado";
|
||||
|
||||
repositorioLotes.Add(t);
|
||||
return repositorioLotes.Guardar() ?
|
||||
"Se Cargo Correctamente" :
|
||||
"Fallo la Carga";
|
||||
}
|
||||
public string DisminuirStock(ReadOnlyCollection<DetalleFactura> detalleFactura)
|
||||
{
|
||||
var ret = false;
|
||||
|
||||
Reference in New Issue
Block a user