Exemplo n.º 1
0
        public async Task <ActionResult <BaseViewModel <PagingResult <PaymentMethodViewModel> > > > GetPaymentMethod([FromQuery] BasePagingRequestViewModel request)
        {
            request.SetDefaultPage();

            var result = await _locationService.GetAllPaymentMethods(request);

            this.HttpContext.Response.StatusCode = (int)result.StatusCode;

            return(result);
        }
Exemplo n.º 2
0
 public ICollection <PaymentMethod> PaymentMethods()
 {
     return(_paymentMethodService.GetAllPaymentMethods());
 }