Beispiel #1
0
        /// <summary>
        ///  Getting customer's order detail by order id
        /// </summary>
        /// <param name="orderId"></param>
        /// <returns>Order detail list</returns>
        public async Task <IActionResult> GetCustomerOrderDetail([FromBody] string orderId)
        {
            var result = await customerApiService.GetCustomerOrderDetail(int.Parse(orderId));

            return(Json(result.Data));
        }