よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public async Task <IActionResult> GetCurrentPosition() { try { DateTime today = DateTime.Now; BalanceDTO startingBalance = await _balanceService.GetLatestBalance(today); return(Ok(startingBalance)); } catch { return(BadRequest("The data has not been imported correctly from the database")); } }