Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Unity Interception - Custom Interception Behaviour
- var companies = methodReturn.ReturnValue as IEnumerable<ICompanyId>;
- List<string> filter = CompaniesVisibleToUser();
- methodReturn.ReturnValue = companies.Where(company =>
- filter.Contains(company.CompanyId)).ToList();
- public IList<ApplicationLayerDtos.EmployeeOverviewDto> GetEmployeesOverview()
- {
- return _appraisalService.GetEmployeesOverview();
- }
Advertisement
Add Comment
Please, Sign In to add comment