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