Beispiel #1
0
        /// <summary>
        /// Creating customer
        /// </summary>
        /// <param name="customer">Name, surname, email</param>
        /// <returns>Api response result</returns>
        public async Task <JsonResult> CreateCustomer(CustomerVM customer)
        {
            var result = await customerApiService.CreateCustomer(customer);

            return(Json(result));
        }