Beispiel #1
0
        public void TestLabelRepository()
        {
            var log = new LabelRepository(new StoreContext(ConnectionString));
            var mm  = log.GetLabelsByItemTypeId(9, 225, "product");

            Task.WaitAll(mm);
            var resultLabels = mm.Result;
        }
 public async Task <List <Label> > GetLabelsByItemTypeId(int storeId, int itemId, string itemType)
 {
     return(await LabelRepository.GetLabelsByItemTypeId(storeId, itemId, itemType));
 }