public ViewElementRoleService(IDbContextBase dbContextBase, IUserRoleService userRoleService, IUserService userService, ICompanyChartRoleService companyChartRoleService)//,IViewElementService viewElementService) : base(dbContextBase) { _repositoryBase = new ViewElementRoleRepository(ContextBase); UserService = userService; UserRoleService = userRoleService; CompanyChartRoleService = companyChartRoleService; //_viewElementService = viewElementService; }
public CompanyRoleController(ICompanyChartRoleService CompanyChartRoleService, IServiceBase <Role> roleServiceBase) { _CompanyChartRoleService = CompanyChartRoleService; _roleService = roleServiceBase; }