public async Task <IActionResult> DeleteCompany(int id)
        {
            try
            {
                await _repository.DeleteCompanyAsync(id);

                return(Ok());
            }
            catch (KeyNotFoundException)
            {
                return(NotFound());
            }
        }