コード例 #1
0
    public async Task <IActionResult> GetStatsAsync()
    {
        // Map.
        DatasetStatsDto output = new()
        {
            Count = await _inquiryRepository.CountAsync(),
        };

        // Return.
        return(Ok(output));
    }