public async Task <IActionResult> GetAllAsync() { var units = await _unitServices.GetAllAsync(); if (units.Count() >= 1) { return(Ok(units)); } return(Ok()); }