Beispiel #1
0
        /// <summary>
        /// Getting customer orders for listing them on the rent equipment page. Purpose is that listing rented equipments before.
        /// </summary>
        /// <param name="customerId"></param>
        /// <returns></returns>
        public async Task <IActionResult> GetCustomerOrdersList([FromBody] string customerId)
        {
            var result = await customerApiService.GetCustomerOrdersList(int.Parse(customerId));

            return(Json(result.Data));
        }