자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public async Task <IActionResult> GetAllAsync() { var payments = await _paymentManager.GetAllAsync(); var paymentDtos = _mapper.Map <IEnumerable <PaymentDto> >(payments); var links = new CollectionLinks() { Self = HttpContext.Request.Path }; return(Ok(new ResourceResponse() { Links = links, Data = paymentDtos })); }