コード例 #1
0
        public HttpResponseMessage GetAllPaymentMethod(long company_id)
        {
            var paymentMethod = paymentMethodRepository.GetAllPaymentMethod(company_id);
            var formatter     = RequestFormat.JsonFormaterString();

            return(Request.CreateResponse(HttpStatusCode.OK, paymentMethod, formatter));
        }