public void SaveEmployee(Employee employee) { ExecuteHandledOperation(() => { return(_employeeRepository.Save(_employeeEntityService.Map(employee))); }); }
public List <Account> GetAccountsByEmployee(Employee employee) { return(ExecuteHandledOperation(() => { return _accountEntityService.Map(_accountRepository.GetAll(_employeeEntityService.Map(employee))); })); }
public List <Company> GetCompanies(Employee emp) { return(ExecuteHandledOperation(() => { return _companyEntityService.Map(_companyRepository.GetAll(_employeeEntityService.Map(emp))); })); }