//todo: handle
        public async Task <Employee> GetEmployeeByEmployeeIdAsync(string id)
        {
            var result = await _repo.GetDocumentsAsync(x => x.CompanyId == id);

            var results = result.Value;

            if (!results.Any())
            {
                return(new Employee());
            }
            if (results.Count() > 1)
            {
                throw new Exception("too many employees match that id");
            }
            return(results.Single());
        }