Exemplo n.º 1
0
        public void Should_Success_ReadItemByEPONoSimply()
        {
            var facade   = new GarmentExternalPurchaseOrderFacade(ServiceProvider, _dbContext(GetCurrentMethod()));
            var Response = facade.ReadItemByEPONoSimply(null, "{}", 0, 0, 1, 10);

            Assert.NotNull(Response.Item1);
        }
Exemplo n.º 2
0
        public async Task Should_Success_Get_Data_By_EPONoSimply()
        {
            var facade = new GarmentExternalPurchaseOrderFacade(ServiceProvider, _dbContext(GetCurrentMethod()));
            var data   = await dataUtil(facade, GetCurrentMethod()).GetNewDataACC();

            var Response = facade.ReadItemByEPONoSimply(data.EPONo, "{}", 0, 0, 1, 10);

            Assert.NotNull(Response);
        }