Esempio n. 1
0
 public Create()
 {
     this.empleado_persistence    = new EmpleadoPersistence();
     this.ingrediente_persistence = new IngredientePersistence();
     this.proveedor_persistence   = new ProveedorPersistence();
 }
Esempio n. 2
0
        public List <Empleado> GetAllEmpleados()
        {
            EmpleadoPersistence empleado_persistence = new EmpleadoPersistence();

            return(empleado_persistence.GetList());
        }
Esempio n. 3
0
        public List <Empleado> ReadEmpleados(short by, object value)
        {
            EmpleadoPersistence empleado_persistence = new EmpleadoPersistence();

            return(empleado_persistence.Read(by, value));
        }
Esempio n. 4
0
 public List<Empleado> ReadEmpleados(short by, object value)
 {
     EmpleadoPersistence empleado_persistence = new EmpleadoPersistence();
     return empleado_persistence.Read(by, value);
 }
Esempio n. 5
0
 public List<Empleado> GetAllEmpleados()
 {
     EmpleadoPersistence empleado_persistence = new EmpleadoPersistence();
     return empleado_persistence.GetList();
 }
Esempio n. 6
0
 public Create()
 {
     this.empleado_persistence = new EmpleadoPersistence();
     this.ingrediente_persistence = new IngredientePersistence();
     this.proveedor_persistence = new ProveedorPersistence();
 }