        {
            _companyRepository = companyRepository;
        }

        public async Task<Company> AddCompanyToUserAsync(User user, Company company)
        {
            company.User = user;
            company.UserId = user.Id;

            return await InsertCompanyAsync(company);