예제 #1
0
        public async Task ChangeShopDataAsync(int shopId, ShopDataDto shopData)
        {
            var shop = await shopData.ToShop();

            await this.dbAccess.ChangeShopDataAsync(shopId, shop);
        }
예제 #2
0
        public async Task AddShopAsync(ShopDataDto shopData)
        {
            var shop = await shopData.ToShop();

            await this.dbAccess.AddShopAsync(shop);
        }