Ejemplo n.º 1
0
 public async Task DecreaseMoney([FromBody] ChangeMoneyBookShopRequest changeMoneyRequest)
 {
     await _bookShopService.DecreaseMoney(changeMoneyRequest);
 }
Ejemplo n.º 2
0
		public async Task DecreaseMoney(ChangeMoneyBookShopRequest changeMoneyRequest)
		{
			if (changeMoneyRequest.Money <= 0) return;

			await ChangeBookShopMoney(-changeMoneyRequest.Money);
		}