public ActionResult <string> GetById(int id, [FromQuery] string include) { var customer = new CustomerStorage(_config); if (include == "products") { return(Ok(customer.GetCustomerProducts(id, include))); } else if (include == "payments") { return(Ok(customer.GetCustomerPaymentTypes(id, include))); } else { return(Ok(customer.GetById(id))); } }