public RolesControllerDependencyBlock(ICreateRoleProcessor createRoleProcessor , IInquiryRoleProcessor inquiryRoleProcessor , IUpdateRoleProcessor updateRoleProcessor , IInquiryAllRolesProcessor allRoleProcessor , IDeleteRoleProcessor deleteRoleProcessor ) { CreateRoleProcessor = createRoleProcessor; InquiryRoleProcessor = inquiryRoleProcessor; UpdateRoleProcessor = updateRoleProcessor; InquiryAllRolesProcessor = allRoleProcessor; DeleteRoleProcessor = deleteRoleProcessor; }
public RolesController(IUrlHelper urlHelper, ITypeHelperService typeHelperService, IPropertyMappingService propertyMappingService, IRolesControllerDependencyBlock blockRole, IUsersControllerDependencyBlock blockUser) { _urlHelper = urlHelper; _typeHelperService = typeHelperService; _propertyMappingService = propertyMappingService; _inquiryAllRolesProcessor = blockRole.InquiryAllRolesProcessor; _inquiryRoleProcessor = blockRole.InquiryRoleProcessor; _createRoleProcessor = blockRole.CreateRoleProcessor; _updateRoleProcessor = blockRole.UpdateRoleProcessor; _inquiryUserProcessor = blockUser.InquiryUserProcessor; }