示例#1
0
        public async Task<IActionResult> GetAll()
        {
            var limits = await _coverService.GetCoversAsync(HttpContext.GetUserId());

            if (limits.Count == 0) return NoContent();

            return Ok(_mapper.Map<List<CoverResponse>>(limits));
        }