public IActionResult Get() { var result = UtilityManager.Uitlity.GetCustomerCode(); var resulta = UtilityManager.Uitlity.GetSaleCode(); var sales = _SaleManager.GetAll(); if (sales == null) { return(BadRequest(new { error = "Empty Sale Item!" })); } return(Ok(sales)); }