public IActionResult GetCustomers([FromQuery] string q, [FromQuery] string activeOrders) { if (q != null && activeOrders == null) { return(Ok(_storage.GetCustomerQuery(q))); } else if (q == null && activeOrders == "false") { return(Ok(_storage.GetInactiveCustomers())); } else { return(Ok(_storage.GetCustomers())); } }