public async Task ApproveHire(Guid id)
        {
            Hire hire = _hireStore.GetById(id);

            hire.Status = HireStatus.Approved;

            if (hire.TeamId.HasValue)
            {
                hire.Team.Members.ForEach(e => e.Inactive = true);
                await _teamStore.Update(hire.Team);
            }
            else
            {
                hire.Employee.Inactive = true;
                await _employeeStore.Update(hire.Employee);
            }

            await _hireStore.Update(hire);
        }
 public async Task Update(EmployeeDTO employeeDto)
 {
     Employee employee = _mapper.Map <Employee>(employeeDto);
     await _store.Update(employee);
 }