Esempio n. 1
0
        static void Main(string[] args)
        {
            ILogistica estoque = EstoqueFactory.Create(TipoEstoque.LGroup);

            estoque.BaixarEstoque(1, 1);

            ILogistica estoqueM = EstoqueFactory.Create(TipoEstoque.Magento);

            estoqueM.BaixarEstoque(2, 2);

            Console.ReadKey();
        }
Esempio n. 2
0
 public LogisticaController(IBaseService <Logistica> service, ILogin login, ILogistica serviceConclusao)
 {
     this.service          = service;
     this.login            = login;
     this.serviceConclusao = serviceConclusao;
 }
 public EstoqueLGroupAltaDisponibilidade(ILogistica estoque)
 {
     _fila    = new Dictionary <int, int>();
     _estoque = estoque;
 }