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